##// END OF EJS Templates
outgoing: fix possible filtering crash in outgoing (issue3814)...
Pierre-Yves David -
r18617:227479f6 stable
parent child Browse files
Show More
@@ -18,6 +18,10 b' def nochangesfound(ui, repo, excluded=No'
18 18 secretlist = []
19 19 if excluded:
20 20 for n in excluded:
21 if n not in repo:
22 # discovery should not have included the filtered revision,
23 # we have to explicitly exclude it until discovery is cleanup.
24 continue
21 25 ctx = repo[n]
22 26 if ctx.phase() >= phases.secret and not ctx.extinct():
23 27 secretlist.append(n)
@@ -865,3 +865,25 b' This test issue 3805'
865 865 $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
866 866
867 867 #endif
868
869 This test issue 3814
870
871 (nothing to push but locally hidden changeset)
872
873 $ cd ..
874 $ hg init repo-issue3814
875 $ cd repo-issue3805
876 $ hg push -r 3816541e5485 ../repo-issue3814
877 pushing to ../repo-issue3814
878 searching for changes
879 adding changesets
880 adding manifests
881 adding file changes
882 added 1 changesets with 1 changes to 1 files
883 $ hg out ../repo-issue3814
884 comparing with ../repo-issue3814
885 searching for changes
886 no changes found
887 [1]
888
889
General Comments 0
You need to be logged in to leave comments. Login now