# HG changeset patch # User Pierre-Yves David # Date 1354308424 -3600 # Node ID 42f56a0418b3ffcf5460f2b6b4f7a03bf4a3aac2 # Parent a39fe76c4c65c73d8824f7e3092dbbc049235422 clfilter: fix a false positive in the test-obsolete.t We push between two repo which once filtered looks unrelated. Weakness in the current implementation allows this push to be done without -f. But later improvement with filtering will make this push fails for unrelatedness. However we want this push to fail for including bumped changeset. So we had a smaller push --force to make them related. diff -r a39fe76c4c65 -r 42f56a0418b3 tests/test-obsolete.t --- a/tests/test-obsolete.t Mon Oct 08 19:34:04 2012 +0200 +++ b/tests/test-obsolete.t Fri Nov 30 21:47:04 2012 +0100 @@ -173,6 +173,13 @@ And that we can't push bumped changeset + $ hg push ../tmpa -r 0 --force #(make repo) + pushing to ../tmpa + searching for changes + adding changesets + adding manifests + adding file changes + added 1 changesets with 1 changes to 1 files (+1 heads) $ hg push ../tmpa pushing to ../tmpa searching for changes