Mercurial > evolve
diff tests/test-topic-push.t @ 6314:3bad2060db25
tests: using patterns like $TESTTMP in test-topic-push.t doesn't need globs
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sat, 29 Oct 2022 17:26:46 +0400 |
parents | 921eb676983f |
children | 58b856416d2e |
line wrap: on
line diff
--- a/tests/test-topic-push.t Thu Sep 22 17:43:45 2022 +0400 +++ b/tests/test-topic-push.t Sat Oct 29 17:26:46 2022 +0400 @@ -47,12 +47,12 @@ $ hg add aaa $ hg commit -m 'CA' $ hg outgoing -G - comparing with $TESTTMP/main (glob) + comparing with $TESTTMP/main searching for changes @ 0 default draft CA $ hg push - pushing to $TESTTMP/main (glob) + pushing to $TESTTMP/main searching for changes adding changesets adding manifests @@ -72,25 +72,25 @@ created new head (consider using topic for lightweight branches. See 'hg help topic') $ hg outgoing -G - comparing with $TESTTMP/main (glob) + comparing with $TESTTMP/main searching for changes @ 2 default draft CC o 1 default draft CB $ hg push - pushing to $TESTTMP/main (glob) + pushing to $TESTTMP/main searching for changes abort: push creates new remote head 9fe81b7f425d (merge or see 'hg help push' for details about pushing new heads) [20] $ hg outgoing -r 'desc(CB)' -G - comparing with $TESTTMP/main (glob) + comparing with $TESTTMP/main searching for changes o 1 default draft CB $ hg push -r 'desc(CB)' - pushing to $TESTTMP/main (glob) + pushing to $TESTTMP/main searching for changes adding changesets adding manifests @@ -104,18 +104,18 @@ (branches are permanent and global, did you want a bookmark?) $ hg commit --amend $ hg outgoing -G - comparing with $TESTTMP/main (glob) + comparing with $TESTTMP/main searching for changes @ 3 double//slash draft CC $ hg push - pushing to $TESTTMP/main (glob) + pushing to $TESTTMP/main searching for changes abort: push creates new remote branches: double//slash (use 'hg push --new-branch' to create new remote branches) [20] $ hg push --new-branch - pushing to $TESTTMP/main (glob) + pushing to $TESTTMP/main searching for changes adding changesets adding manifests @@ -126,7 +126,7 @@ Including on non-publishing $ hg push --new-branch draft - pushing to $TESTTMP/draft (glob) + pushing to $TESTTMP/draft searching for changes adding changesets adding manifests @@ -162,7 +162,7 @@ Pushing a new topic to a non publishing server should not be seen as a new head $ hg push draft - pushing to $TESTTMP/draft (glob) + pushing to $TESTTMP/draft searching for changes adding changesets adding manifests @@ -252,7 +252,7 @@ Pushing a new topic to a publishing server should be seen as a new head $ hg push - pushing to $TESTTMP/main (glob) + pushing to $TESTTMP/main searching for changes abort: push creates new remote head 67f579af159d (merge or see 'hg help push' for details about pushing new heads) @@ -382,7 +382,7 @@ $ hg push draft - pushing to $TESTTMP/draft (glob) + pushing to $TESTTMP/draft searching for changes abort: push creates new remote head f0bc62a661be on branch 'default//babar' (merge or see 'hg help push' for details about pushing new heads) @@ -426,7 +426,7 @@ Reject when pushing to draft $ hg push draft -r . - pushing to $TESTTMP/draft (glob) + pushing to $TESTTMP/draft searching for changes abort: push creates new remote head 4937c4cad39e (merge or see 'hg help push' for details about pushing new heads) @@ -435,7 +435,7 @@ Reject when pushing to publishing $ hg push -r . - pushing to $TESTTMP/main (glob) + pushing to $TESTTMP/main searching for changes adding changesets adding manifests