[PATCH] add copy information to hg status -v

Brendan Cully brendan at kublai.com
Mon Jun 26 16:12:27 CDT 2006


On Monday, 26 June 2006 at 14:06, Bryan O'Sullivan wrote:
> On Mon, 2006-06-26 at 13:23 -0700, Brendan Cully wrote:
> > This patch adds copy information to hg status -v. To keep it easy to
> > parse, copies are displayed in the form:
> > 
> > A newfile<delim>oldfile<delim>

oops, that should have read: A newfile<delim>  oldfile<delim>.

> Ungh.  Why not introduce a new output symbol, say C, for this?

this way is probably more backward-compatible for sane parsers (with
the fix mentioned above).

> Overloading A won't work: "Did I read A? OK! Does the next line start
> with something I recognise?  No?  Oh, the copied-to file is called 'A
> simple introduction to ambiguous parsing'!  A ieeeee!"

This should also be resolved by the typo fix above (the code didn't
suffer from that mistake).


More information about the Mercurial mailing list