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

            Bug ID: 6860
           Summary: bug in revset optimization involving null commit
           Product: Mercurial
           Version: default branch
          Hardware: PC
                OS: Mac OS
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzi...@mercurial-scm.org
          Reporter: martinv...@google.com
                CC: mercurial-de...@mercurial-scm.org
    Python Version: ---

I haven't even tried to figure out where in the revset optimization this bug
lies, but here's a test that demonstrates it:

```
  $ hg init
  $ echo a > file
  $ hg ci -Am foo
  adding file
  $ hg co -q null
  $ hg debugrevspec --no-optimized  '(parents(only(., public())) | .) &
public()'
  -1
  $ hg debugrevspec  '(parents(only(., public())) | .) & public()'
  -1 (missing-correct-output !)
```

The unoptimized output is correct, the optimized output is not.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to