[Bug 5385] New: log -f will complain hidden revision if rev 0 and rev "." are disconnected

bugzilla at mercurial-scm.org bugzilla at mercurial-scm.org
Wed Sep 28 20:56:41 UTC 2016


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

            Bug ID: 5385
           Summary: log -f will complain hidden revision if rev 0 and rev
                    "." are disconnected
           Product: Mercurial
           Version: default branch
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: arcppzju+hgbug at gmail.com
                CC: mercurial-devel at selenic.com

Test case:

  $ cat >> $HGRCPATH << EOF
  > [extensions]
  > evolve=
  > EOF

  $ hg init repo
  $ cd repo

  $ touch a
  $ hg commit -A a -m a

  $ hg prune . -q

  $ touch b
  $ hg commit -A b -m b

Unexpected hidden revision:

  $ hg log -f
  abort: hidden revision '0'!
  (use --hidden to access hidden revisions)
  [255]

I think issue4765 is the same thing as fb adds "-f" to "log" by default with
tweakdefaults.

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


More information about the Mercurial-devel mailing list