Bug 3814 - hg outgoing fails when no changes and hidden changesets present
Summary: hg outgoing fails when no changes and hidden changesets present
Status: RESOLVED FIXED
Alias: None
Product: Mercurial
Classification: Unclassified
Component: evolution (show other bugs)
Version: earlier
Hardware: PC Linux
: urgent bug
Assignee: Pierre-Yves David
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-09 11:17 UTC by Benoit Boissinot
Modified: 2017-11-01 18:05 UTC (History)
2 users (show)

See Also:
Python Version: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benoit Boissinot 2013-02-09 11:17 UTC
repro

52533  cd /tmp/
52534  hg clone http://hg.intevation.org/mercurial/crew
52535  hg clone crew crew2
52536  cd crew2/
52537  vi Makefile 
52538  echo foo >> Makefile 
52539  hg commit 
52540  echo foo >> Makefile 
52541  reset
52542  echo foo >> Makefile 
52543  hg commit --amend
52544  hg push ../crew
52545  hg out

fails with:

bboissin@bboissin:/tmp/crew2$ hg out
comparing with /tmp/crew
searching for changes
abort: unknown revision 'd7605dcb064705ce7daef508eeaed3764545c8b6'!
Comment 1 HG Bot 2013-02-09 17:45 UTC
Fixed by http://selenic.com/repo/hg/rev/e7b89b5127c2
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
outgoing: fix possible filtering crash in outgoing (issue3814)

If there is no outgoiing changesets but we have filtered revision in outgoing.excluded
We run into a filtering related crash. The excluded revision should not be there
in the first place but discovery need cleanup in default, not stable.

(please test the fix)
Comment 2 HG Bot 2013-02-09 18:15 UTC
Fixed by http://selenic.com/repo/hg/rev/227479f61db9
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
outgoing: fix possible filtering crash in outgoing (issue3814)

If there is no outgoiing changesets but we have filtered revision in outgoing.excluded
We run into a filtering related crash. The excluded revision should not be there
in the first place but discovery need cleanup in default, not stable.

(please test the fix)