Specifying repository root with cat
Mark Finnis
m.v.finnis at gmail.com
Thu Jan 27 04:39:47 CST 2011
Hi,
I'm not sure whether this is a bug or whether I'm missing something obvious.
In Windows XP I want to list a file from a repository. If I'm sat in the
repository root directory then
hg cat -r -1 file
lists the file as expected. If I'm in another directory then the response to
hg -R rootdir cat -r -1 file
is abort: file not under root. Something like
hg -R rootdir log
responds as expected and if I'm sat in the root directory
hg -R rootdir cat -r -1 file
lists the file. I can't see why I shouldn't be able to list a file outside
of the working directory and even if I can't I wouldn't expect mercurial to
respond in the way it has. Am I missing something?
Thanks.
MVF
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20110127/8ae8a3a9/attachment.htm>
More information about the Mercurial
mailing list