[Bug 6049] New: `hg split` fails on long paths

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Mon Jan 7 17:56:32 UTC 2019


https://bz.mercurial-scm.org/show_bug.cgi?id=6049

            Bug ID: 6049
           Summary: `hg split` fails on long paths
           Product: Mercurial
           Version: 4.8
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: martinvonz at google.com
                CC: mercurial-devel at mercurial-scm.org

To repro:

hg init
NAME=QWERTYUIOP
while true
do
  mkdir $NAME
  cd $NAME
  hg st > /dev/null || break
done
cd ..
rmdir $NAME
echo a > a
echo b > b
hg ci -Aqm x
hg split
# select one of the files (or both)
abort: File name too long: '<repo path>/.hg/record-backups/<"QWERTYUIOP_"
repeated many times>a.BvtYg5'

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


More information about the Mercurial-devel mailing list