[issue1323] hg status <file> shows spurious error message for removed file

Antoine Pitrou mercurial-bugs at selenic.com
Fri Oct 3 17:24:52 UTC 2008


New submission from Antoine Pitrou <pitrou at free.fr>:

This is annoying because it complicates writing scripts parsing the output of
"hg status" when parametered with a specific file. It came up when doing the
Mercurial version of Rietveld's upload tool (http://codereview.appspot.com/4651).
As a comparison, if you don't specify a filename, the removed file is mentioned
in the output, without the spurious error message.

$ hg status -C --rev 0 TODO
TODO: No such file or directory
R TODO

$ hg status -C --rev 0 
R TODO

----------
messages: 7299
nosy: pitrou
priority: bug
status: unread
title: hg status <file> shows spurious error message for removed file

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1323>
____________________________________________________




More information about the Mercurial-devel mailing list