[Bug 4774] New: Hg status compares the revision with itself when run with revset

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Thu Aug 13 00:11:08 UTC 2015


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

          Priority: normal
            Bug ID: 4774
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Hg status compares the revision with itself when run
                    with revset
          Severity: bug
    Classification: Unclassified
                OS: All
          Reporter: mitrandir at fb.com
          Hardware: All
            Status: UNCONFIRMED
           Version: 3.5-rc
         Component: Mercurial
           Product: Mercurial

$revset is a revset yielding exactly one commit.

I ran:
  hg status --rev $revset
The output was empty.

I resolved the revset using:
  hg log -r $revset

It returned one commit. Then I took the commit hash and ran:
  hg status --rev $hash
The output was non-empty.

I suspect that hg status compares the revision with itself when given a revset
yielding only one commit.

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


More information about the Mercurial-devel mailing list