Mercurial > hg
comparison tests/test-infinitepush-bundlestore.t @ 37203:f083e7fd6313
infinitepush: delete the non-forward-move flag for hg push
Differential Revision: https://phab.mercurial-scm.org/D2955
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Fri, 30 Mar 2018 12:50:06 -0700 |
parents | c5687ce3b411 |
children | 24c7428983c5 |
comparison
equal
deleted
inserted
replaced
37202:95cc57a74363 | 37203:f083e7fd6313 |
---|---|
301 scratch/anotherbranch 1de1d7d92f8965260391d0513fe8a8d5973d3042 | 301 scratch/anotherbranch 1de1d7d92f8965260391d0513fe8a8d5973d3042 |
302 scratch/mybranch 6c10d49fe92751666c40263f96721b918170d3da | 302 scratch/mybranch 6c10d49fe92751666c40263f96721b918170d3da |
303 $ hg push -r . -B scratch/mybranch | 303 $ hg push -r . -B scratch/mybranch |
304 pushing to ssh://user@dummy/repo | 304 pushing to ssh://user@dummy/repo |
305 searching for changes | 305 searching for changes |
306 remote: non-forward push | |
307 remote: (use --non-forward-move to override) | |
308 abort: push failed on remote | |
309 [255] | |
310 | |
311 $ hg push -r . -B scratch/mybranch --non-forward-move | |
312 pushing to ssh://user@dummy/repo | |
313 searching for changes | |
314 remote: pushing 5 commits: | 306 remote: pushing 5 commits: |
315 remote: 20759b6926ce scratchcommit | 307 remote: 20759b6926ce scratchcommit |
316 remote: 1de1d7d92f89 new scratch commit | 308 remote: 1de1d7d92f89 new scratch commit |
317 remote: 2b5d271c7e0d scratchcommitnobook | 309 remote: 2b5d271c7e0d scratchcommitnobook |
318 remote: d8c4f54ab678 scratchcommitwithpushrebase | 310 remote: d8c4f54ab678 scratchcommitwithpushrebase |