[Bug 3999] New: The error message when running hg log -f on a directory could be clearer

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Wed Jul 24 10:16:05 CDT 2013


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

          Priority: normal
            Bug ID: 3999
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: The error message when running hg log -f on a
                    directory could be clearer
          Severity: feature
    Classification: Unclassified
                OS: Linux
          Reporter: faheem at faheem.info
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.6.2
         Component: Mercurial
           Product: Mercurial

hg log -f dirname

for any directory gives 

    abort: cannot follow file not in parent revision: "dirname"

My understanding is that this error is produced because this is a directory
name, not a file name, and `hg` expects a file name. So `hg` doesn't know what
to do with it. So, there is no bug here. Regardless, the message could be
improved, as it is not clear what the problem is.

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


More information about the Mercurial-devel mailing list