[Bug 4928] New: command server ignores -R when started from inside a Hg repository

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Nov 2 17:13:12 UTC 2015


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

            Bug ID: 4928
           Summary: command server ignores -R when started from inside a
                    Hg repository
           Product: Mercurial
           Version: 3.5.2
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: bug
          Priority: normal
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: gabor.stefanik at nng.com
                CC: mercurial-devel at selenic.com

I'm executing (through hglib) the following command:

hg serve --cmdserver pipe --config ui.interactive=True -R C:\work

in the directory C:\hg.

C:\hg contains a Hg repository, while C:\work doesn't. In this case, hg serve
should fail (or at least it shouldn't allow executing commands other than init,
clone, etc.), but instead it opens the repository in C:\hg.

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


More information about the Mercurial-devel mailing list