##// END OF EJS Templates
blackbox: add backup bundle paths to blackbox logs...
Durham Goode -
r18766:64b55625 default
parent child Browse files
Show More
@@ -119,6 +119,7 b' def strip(ui, repo, nodelist, backup="al'
119 if backup == "all":
119 if backup == "all":
120 backupfile = _bundle(repo, stripbases, cl.heads(), node, topic)
120 backupfile = _bundle(repo, stripbases, cl.heads(), node, topic)
121 repo.ui.status(_("saved backup bundle to %s\n") % backupfile)
121 repo.ui.status(_("saved backup bundle to %s\n") % backupfile)
122 repo.ui.log("backupbundle", "saved backup bundle to %s\n", backupfile)
122 if saveheads or savebases:
123 if saveheads or savebases:
123 # do not compress partial bundle if we remove it from disk later
124 # do not compress partial bundle if we remove it from disk later
124 chgrpfile = _bundle(repo, savebases, saveheads, node, 'temp',
125 chgrpfile = _bundle(repo, savebases, saveheads, node, 'temp',
@@ -16,6 +16,7 b' setup'
16 > [extensions]
16 > [extensions]
17 > blackbox=
17 > blackbox=
18 > mock=`pwd`/mock.py
18 > mock=`pwd`/mock.py
19 > mq=
19 > EOF
20 > EOF
20 $ hg init blackboxtest
21 $ hg init blackboxtest
21 $ cd blackboxtest
22 $ cd blackboxtest
@@ -60,6 +61,20 b' clone, commit, pull'
60 1970/01/01 00:00:00 bob> 1 incoming changes - new heads: d02f48003e62
61 1970/01/01 00:00:00 bob> 1 incoming changes - new heads: d02f48003e62
61 1970/01/01 00:00:00 bob> pull exited None after * seconds (glob)
62 1970/01/01 00:00:00 bob> pull exited None after * seconds (glob)
62
63
64 backup bundles get logged
65
66 $ touch d
67 $ hg commit -Amd
68 adding d
69 created new head
70 $ hg strip tip
71 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
72 saved backup bundle to $TESTTMP/blackboxtest2/.hg/strip-backup/*-backup.hg (glob)
73 $ hg blackbox -l 3
74 1970/01/01 00:00:00 bob> strip tip
75 1970/01/01 00:00:00 bob> saved backup bundle to $TESTTMP/blackboxtest2/.hg/strip-backup/*-backup.hg (glob)
76 1970/01/01 00:00:00 bob> strip exited 0 after * seconds (glob)
77
63 extension and python hooks - use the eol extension for a pythonhook
78 extension and python hooks - use the eol extension for a pythonhook
64
79
65 $ echo '[extensions]' >> .hg/hgrc
80 $ echo '[extensions]' >> .hg/hgrc
General Comments 0
You need to be logged in to leave comments. Login now