Show More
@@ -249,6 +249,8 b' class bundlerepository(localrepo.localre' | |||
|
249 | 249 | def close(self): |
|
250 | 250 | """Close assigned bundle file immediately.""" |
|
251 | 251 | self.bundle.close() |
|
252 | if self.tempfile is not None: | |
|
253 | os.unlink(self.tempfile) | |
|
252 | 254 | |
|
253 | 255 | def __del__(self): |
|
254 | 256 | del self.bundle |
@@ -33,6 +33,7 b' Incoming to fresh repo:' | |||
|
33 | 33 | comparing with main.hg |
|
34 | 34 | 0: main: one added |
|
35 | 35 | 1: main: one updated |
|
36 | $ test -f ./fresh/.hg/hg-bundle* && echo 'temp. bundle file remained' || true | |
|
36 | 37 | |
|
37 | 38 | $ hg -R fresh tincoming bundle:fresh+main.hg |
|
38 | 39 | comparing with bundle:fresh+main.hg |
@@ -58,6 +59,7 b' Bundle queue:' | |||
|
58 | 59 | |
|
59 | 60 | $ hg -R .hg/patches bundle --base=null ../queue.hgq |
|
60 | 61 | 1 changesets found |
|
62 | $ test -f ./fresh/.hg/hg-bundle* && echo 'temp. bundle file remained' || true | |
|
61 | 63 | |
|
62 | 64 | $ cd .. |
|
63 | 65 | |
@@ -75,6 +77,7 b' Incoming queue bundle:' | |||
|
75 | 77 | $ hg -R .hg/patches tincoming ../queue.hgq |
|
76 | 78 | comparing with ../queue.hgq |
|
77 | 79 | 0: queue: two.patch added |
|
80 | $ test -f .hg/hg-bundle* && echo 'temp. bundle file remained' || true | |
|
78 | 81 | |
|
79 | 82 | Pull queue bundle: |
|
80 | 83 | |
@@ -87,6 +90,7 b' Pull queue bundle:' | |||
|
87 | 90 | added 1 changesets with 3 changes to 3 files |
|
88 | 91 | merging series |
|
89 | 92 | 2 files updated, 1 files merged, 0 files removed, 0 files unresolved |
|
93 | $ test -f .hg/patches/hg-bundle* && echo 'temp. bundle file remained' || true | |
|
90 | 94 | |
|
91 | 95 | $ hg -R .hg/patches theads |
|
92 | 96 | 0: queue: two.patch added |
General Comments 0
You need to be logged in to leave comments.
Login now