files matched by .hgignore are now reported as removed
Benoit Boissinot
bboissin at gmail.com
Wed Nov 2 18:34:17 UTC 2005
On 11/2/05, Eric Hopper <hopper at omnifarious.org> wrote:
> On Wed, Nov 02, 2005 at 07:11:47PM +0100, Benoit Boissinot wrote:
> > On 11/2/05, Johannes Hofmann <Johannes.Hofmann at gmx.de> wrote:
> > > Sorry for nitpicking, but I think the test should look like this:
> > >
> > this is a separate issue.
> >
> > Matt, what do you think of printing the status always relative to the
> > base regardless of cwd ?
> > (what was the reason for doing it the other way ?)
>
> I don't know about you, but I tend to pipe the output of status into a
> command to do stuff with all files that have a certain status or set of
> statuses (I find -0 invaluable). Having status output always be
> relative to the root of the repository would break this, and I think
> that my use case is a pretty important one.
I agree, this use case should work.
>
> OTOH, if the commands are modified to always run relative to root unless
> '.' is specified or something, then I'm OK since there's still a way to
> do what I want that isn't hugely complicated.
That patch made it *always* relative to the repo root, so i think the
current behaviour was correct.
Johannes:
i think "a.o" is the correct output, maybe what you would like was
"../dir/a.o" but this can't be done because we could have more than
one pattern in the command line and we don't track from which pattern
which file comes. (sorry if i am not very clear, but i hope you get
the point).
regards,
Benoit
More information about the Mercurial
mailing list