[Bug 5739] New: $foo in repository path expanded, can't access to such repository

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Sun Nov 12 03:53:48 EST 2017


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

            Bug ID: 5739
           Summary: $foo in repository path expanded, can't access to such
                    repository
           Product: Mercurial
           Version: 4.4.1
          Hardware: PC
                OS: All
            Status: UNCONFIRMED
          Severity: bug
          Priority: normal
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: yuya at tcha.org
                CC: mercurial-devel at mercurial-scm.org

STR:

  $ mkdir '$foo'
  $ cd '$foo'
  $ hg init
  $ foo=bar hg root
  abort: repository $TESTTMP/$foo not found!
  [255]

Perhaps we should move the path expansion out from localrepository.__init__().

Originally reported as:
https://bitbucket.org/tortoisehg/thg/issues/4943/

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


More information about the Mercurial-devel mailing list