[issue78] hg cat does not work on files not in the working copy

Benoit Boissinot bboissin at gmail.com
Mon Nov 28 08:28:58 UTC 2005


On 11/26/05, Zbynek Winkler <mercurial-bugs at selenic.com> wrote:
>
> New submission from Zbynek Winkler <zwin at users.sourceforge.net>:
>
> This sequence of commands
>
> hg init
> >empty
> hg add empty
> hg ci
> hg rm empty
> hg ci
> hg cat -r 0 empty
>
> returns "empty: No such file or directory". Actually, when I recreate the file
> named "empty" by running ">empty", the "hg cat" starts to work. IMO the cat
> command should check for the existence of the file in the manifest of the
> specified revision and not in the working copy.
>
patch attached

regards,

Benoit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: export.diff
Type: text/x-patch
Size: 3877 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20051128/85218bdb/attachment-0001.bin>


More information about the Mercurial mailing list