[Bug 5523] New: renamed subrepos cause "repository X not found" warnings running hg verify

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Wed Apr 5 12:51:22 UTC 2017


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

            Bug ID: 5523
           Summary: renamed subrepos cause "repository X not found"
                    warnings running hg verify
           Product: Mercurial
           Version: 4.0
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: mq
          Assignee: bugzilla at mercurial-scm.org
          Reporter: carandraug+dev at gmail.com
                CC: mercurial-devel at mercurial-scm.org

We had a subrepo on a directory named "gnulib-hg".  We now renamed it to
"gnulib".  The change of name was also done on ".hgsub" and ".hgsubstate"
files.  However, when running "hg verify", it still gives warnings about
subrepo not found.  This was not the case on hg versions 3.1.2 and 2.8.2.  It
happens now with mercurial 4.0 and 4.1.2.

Making a symlink between the old and new name, fixes the warnings.  The
revision numbers are the commits where we started to use the "gnulib-hg"
subrepo, and all the times we updated ".hgsubstate".

$ hg clone http://www.octave.org/hg/octave
$ hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
13055 files, 23344 changesets, 155243 total revisions
checking subrepo links
15889: repository /home/carandraug/playground/octave/gnulib-hg not found
15890: repository /home/carandraug/playground/octave/gnulib-hg not found
15892: repository /home/carandraug/playground/octave/gnulib-hg not found
15905: repository /home/carandraug/playground/octave/gnulib-hg not found
16032: repository /home/carandraug/playground/octave/gnulib-hg not found
16038: repository /home/carandraug/playground/octave/gnulib-hg not found
16039: repository /home/carandraug/playground/octave/gnulib-hg not found
16081: repository /home/carandraug/playground/octave/gnulib-hg not found
16240: repository /home/carandraug/playground/octave/gnulib-hg not found
16358: repository /home/carandraug/playground/octave/gnulib-hg not found
17277: repository /home/carandraug/playground/octave/gnulib-hg not found
17840: repository /home/carandraug/playground/octave/gnulib-hg not found
19106: repository /home/carandraug/playground/octave/gnulib-hg not found
19818: repository /home/carandraug/playground/octave/gnulib-hg not found
21166: repository /home/carandraug/playground/octave/gnulib-hg not found
21479: repository /home/carandraug/playground/octave/gnulib-hg not found
21544: repository /home/carandraug/playground/octave/gnulib-hg not found
21820: repository /home/carandraug/playground/octave/gnulib-hg not found
21834: repository /home/carandraug/playground/octave/gnulib-hg not found
$ hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
13055 files, 23344 changesets, 155243 total revisions
checking subrepo links

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


More information about the Mercurial-devel mailing list