[Bug 4734] New: no way to ensure repo-root-relative paths from 'hg files'

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Thu Jun 25 14:27:44 CDT 2015


          Priority: normal
            Bug ID: 4734
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: no way to ensure repo-root-relative paths from 'hg
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: durin42 at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: default branch
         Component: Mercurial
           Product: Mercurial

I want to get the flags of a few specific files, along with their
relative-to-repo-root path via hglib. I can't find a way to get
repo-root-relative paths from 'hg files' - only
current-working-directory-relative, even when cwd is /tmp - I basically end up
with '../$ABSOLUTE_PATH_HERE' in the output.

Is there some spell missing from the docs, or is this a feature we should
consider adding?

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

More information about the Mercurial-devel mailing list