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