hg locate: inconsistent output

Sanjoy Mahajan sanjoy at mrao.cam.ac.uk
Fri Apr 7 22:55:55 UTC 2006


This output makes sense:

$ hg locate xyz
xyz: No such file or directory

But:

$ hg locate dsdt/600x.dsl
$ hg status dsdt/600x.dsl
? dsdt/600x.dsl
$ hg manifest | grep dsdt/600x.dsl

There is a dsdt/600x.dsl file and it is revision controlled, but it was
added in a different branch (in the same repository).

Shouldn't 'hg locate' complain (or not) equally in the two cases?  My
preference, following unix tradition, is for it to say nothing in either
case.

-Sanjoy

`A society of sheep must in time beget a government of wolves.'
   - Bertrand de Jouvenal



More information about the Mercurial mailing list