Mercurial > hg-stable
comparison tests/test-absorb.t @ 39472:ab452995eaff
absorb: clarify the reason for not finding changesets to modify
I'm used to pushing to non-publishing repos, so this was the last thing I
thought to check.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 04 Sep 2018 20:48:22 -0400 |
parents | 3fa9058f4f79 |
children | 1be1689d9ce9 |
comparison
equal
deleted
inserted
replaced
39471:481db51c83e9 | 39472:ab452995eaff |
---|---|
16 $ cd repo1 | 16 $ cd repo1 |
17 | 17 |
18 Do not crash with empty repo: | 18 Do not crash with empty repo: |
19 | 19 |
20 $ hg absorb | 20 $ hg absorb |
21 abort: no changeset to change | 21 abort: no mutable changeset to change |
22 [255] | 22 [255] |
23 | 23 |
24 Make some commits: | 24 Make some commits: |
25 | 25 |
26 $ for i in 1 2 3 4 5; do | 26 $ for i in 1 2 3 4 5; do |
223 o 0 commit 1 public | 223 o 0 commit 1 public |
224 | 224 |
225 $ echo 2 >> m1 | 225 $ echo 2 >> m1 |
226 $ echo 2 >> m2 | 226 $ echo 2 >> m2 |
227 $ hg absorb | 227 $ hg absorb |
228 abort: no changeset to change | 228 abort: no mutable changeset to change |
229 [255] | 229 [255] |
230 $ hg revert -q -C m1 m2 | 230 $ hg revert -q -C m1 m2 |
231 | 231 |
232 Use a new repo: | 232 Use a new repo: |
233 | 233 |