[PATCH] hg status -0 implies -n

Matt Mackall mpm at selenic.com
Fri Jun 23 17:28:26 CDT 2006


On Thu, Jun 22, 2006 at 06:55:20PM -0700, Jeremy Fitzhardinge wrote:
> There's no point in putting a status prefix when using -0, since the 
> output is intended for consumption by xargs.

We may, in the future, allow newlines in filenames. At which point -0
without -n will be useful for apps parsing hg status.

(We don't currently allow it because the changeset format doesn't
support it. But that could be dealt with via escaping or other
mechanisms.)

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list