[Bug 3665] New: verify complains about spurious double slashes

bugzilla-daemon at bz.selenic.com bugzilla-daemon at bz.selenic.com
Thu Oct 18 16:20:01 CDT 2012


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

          Priority: normal
            Bug ID: 3665
          Keywords: easy
                CC: bos at serpentine.com, durin42 at gmail.com,
                    jordigh at octave.org, mercurial-devel at selenic.com,
                    mpm at selenic.com, patrick at mezard.eu
          Assignee: bugzilla at selenic.com
           Summary: verify complains about spurious double slashes
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: mpm at selenic.com
          Hardware: All
            Status: UNCONFIRMED
           Version: 2.2.2
         Component: Mercurial
        Depends on: 3612
           Product: Mercurial

+++ This bug was initially created as a clone of Bug #3612 +++

When using a filemap, it's possible to make convert insert double slashes,
which later cause trouble:


mkdir a
cd a
hg init
mkdir foo
echo a > foo/a
hg addremove
hg ci -m "a"
cd ..
echo "rename foo/a foo//bar//a" > f
hg convert --filemap f a b
cd b
hg up
hg st            ## File foo/bar/a is untracked??
hg manifest      ## Double slashes in manifest??
hg add foo/bar/a ## Ok, fine, let's add it again.
hg ci -m "lol"
hg verify        ## Repo corruption?

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


More information about the Mercurial-devel mailing list