bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#5961: 23.1 regression: vc-hg does not show 0 version number for 'add


From: Chong Yidong
Subject: bug#5961: 23.1 regression: vc-hg does not show 0 version number for 'added files
Date: Fri, 16 Apr 2010 20:30:39 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.95 (gnu/linux)

Dan Nicolaescu <dann@gnu.org> writes:

> After this change:
>
>   Show working revision correctly for mercurial.
>   * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
>   hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>,
>
> the mode-line show Hg@ instead of Hg@0 for files in the VC 'added
> state.  This is a regression from 23.1.
>
> The problem is that the "hg parent " command does not distinguish
> between the 'added and 'unregistered files.
>
> Should the patch below go into the 23.2 branch?

Yes please.  I don't have hg installed at the moment, so it's
inconvenient for me to double check your work, but if you're confident
it's correct then please go ahead and commit it.

Thanks.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]