##// END OF EJS Templates
tests: drop an extraneous (glob) from test-debugbackupbundle.t...
Matt Harbison -
r45034:20d74eeb default
parent child Browse files
Show More
@@ -1,39 +1,39 b''
1 $ cat >> $HGRCPATH << EOF
1 $ cat >> $HGRCPATH << EOF
2 > [extensions]
2 > [extensions]
3 > strip=
3 > strip=
4 > EOF
4 > EOF
5
5
6 Setup repo
6 Setup repo
7
7
8 $ hg init repo
8 $ hg init repo
9 $ cd repo
9 $ cd repo
10
10
11 Test backups list and recover
11 Test backups list and recover
12
12
13 $ hg debugbackupbundle
13 $ hg debugbackupbundle
14 no backup changesets found
14 no backup changesets found
15
15
16 $ mkcommit() {
16 $ mkcommit() {
17 > echo "$1" > "$1"
17 > echo "$1" > "$1"
18 > hg add "$1"
18 > hg add "$1"
19 > hg ci -l $1
19 > hg ci -l $1
20 > }
20 > }
21 $ mkcommit a
21 $ mkcommit a
22 $ mkcommit b
22 $ mkcommit b
23 $ hg strip .
23 $ hg strip .
24 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
24 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
25 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/d2ae7f538514-2953539b-backup.hg (glob)
25 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/d2ae7f538514-2953539b-backup.hg
26 $ hg debugbackupbundle
26 $ hg debugbackupbundle
27 Recover changesets using: hg debugbackupbundle --recover <changeset hash>
27 Recover changesets using: hg debugbackupbundle --recover <changeset hash>
28
28
29 Available backup changesets:
29 Available backup changesets:
30 * (glob)
30 * (glob)
31 d2ae7f538514 b
31 d2ae7f538514 b
32
32
33 $ hg debugbackupbundle --recover d2ae7f538514
33 $ hg debugbackupbundle --recover d2ae7f538514
34 Unbundling d2ae7f538514
34 Unbundling d2ae7f538514
35 adding changesets
35 adding changesets
36 adding manifests
36 adding manifests
37 adding file changes
37 adding file changes
38 added 1 changesets with 1 changes to 1 files
38 added 1 changesets with 1 changes to 1 files
39 new changesets d2ae7f538514 (1 drafts)
39 new changesets d2ae7f538514 (1 drafts)
General Comments 0
You need to be logged in to leave comments. Login now