[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Re: broken UI for mtn commit
From: |
Justin Patrin |
Subject: |
Re: [Monotone-devel] Re: broken UI for mtn commit |
Date: |
Wed, 1 Aug 2007 10:45:05 -0700 |
On 8/1/07, Lapo Luchini <address@hidden> wrote:
> Koen Kooi wrote:
> > address@hidden:~/packages/raw-tools$ mtn commit exiv2_0.15.bb
> > mtn: warning: restriction excludes addition of 'packages/raw-tools' but
> > includes addition
> > of 'packages/raw-tools/exiv2_0.15.bb'
> >
> > Can someone *please* explain why this still hasn't been fixed the past 6
> > releases or so?
>
> UH?
>
> Works for me...
>
> % mkdir -p d3/d2/d1
> % touch d3/d2/d1/f1
> % touch d3/d2/d1/f2
> % cd d3/d2/d1
> % LANG=C mtn add f1
> mtn: adding d3 to workspace manifest
> mtn: adding d3/d2 to workspace manifest
> mtn: adding d3/d2/d1 to workspace manifest
> mtn: adding d3/d2/d1/f1 to workspace manifest
> % LANG=C mtn st
> Current branch: it.lapo.homedir.cyberone
> Changes against parent 7d97012d972f7474741937e0ee0390a4cd44f3a5
> added d3
> added d3/d2
> added d3/d2/d1
> added d3/d2/d1/f1
> % LANG=C mtn ci --depth 0 ../.. .. . f1
Koen's point is that you shouldn't have to add "--depth 0 ../.. .. ."
to this command-line. Asking to commit f1 implicitly asks to commit
the enclosing directories without comitting their contents.
--
Justin Patrin
[Monotone-devel] Re: broken UI for mtn commit, Lapo Luchini, 2007/08/01
Re: [Monotone-devel] broken UI for mtn commit, Nathaniel Smith, 2007/08/01