[Bug 4749] New: hg cat complains about traversing symlinks even for historical revisions

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Thu Jul 9 01:45:57 CDT 2015


http://bz.selenic.com/show_bug.cgi?id=4749

          Priority: normal
            Bug ID: 4749
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: hg cat complains about traversing symlinks even for
                    historical revisions
          Severity: bug
    Classification: Unclassified
                OS: All
          Reporter: sid0 at fb.com
          Hardware: All
            Status: UNCONFIRMED
           Version: default branch
         Component: Mercurial
           Product: Mercurial

hg init
mkdir foo
touch foo/bar
hg add foo
hg ci -m c1

hg rm foo
ln -s something foo
hg add foo
hg ci -m c2


The command

hg cat -r 0 foo/bar

should return the contents of foo/bar at revision 0, but instead says:

abort: path 'foo/bar' traverses symbolic link 'foo'

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list