Show More
@@ -1995,12 +1995,12 b' class queue(object):' | |||
|
1995 | 1995 | self.added.append(patchname) |
|
1996 | 1996 | imported.append(patchname) |
|
1997 | 1997 | patchname = None |
|
1998 | if rev and repo.ui.configbool('mq', 'secret', False): | |
|
1999 |
# if we added anything with --rev, |
|
|
2000 | phases.retractboundary(repo, phases.secret, [n]) | |
|
2001 | self.parseseries() | |
|
2002 | self.applieddirty = True | |
|
2003 | self.seriesdirty = True | |
|
1998 | if rev and repo.ui.configbool('mq', 'secret', False): | |
|
1999 | # if we added anything with --rev, move the secret root | |
|
2000 | phases.retractboundary(repo, phases.secret, [n]) | |
|
2001 | self.parseseries() | |
|
2002 | self.applieddirty = True | |
|
2003 | self.seriesdirty = True | |
|
2004 | 2004 | |
|
2005 | 2005 | for i, filename in enumerate(files): |
|
2006 | 2006 | if existing: |
@@ -196,6 +196,14 b' try to import --push' | |||
|
196 | 196 | now at: appendbar.diff |
|
197 | 197 | $ hg qfin -a |
|
198 | 198 | patch b.diff finalized without changeset message |
|
199 | $ touch .hg/patches/2.diff | |
|
200 | $ hg qimport -r 'p1(.)::' | |
|
201 | abort: patch "2.diff" already exists | |
|
202 | [255] | |
|
203 | $ hg qapplied | |
|
204 | 3.diff | |
|
205 | $ hg qfin -a | |
|
206 | $ rm .hg/patches/2.diff | |
|
199 | 207 | $ hg qimport -r 'p1(.)::' -P |
|
200 | 208 | $ hg qpop -a |
|
201 | 209 | popping 3.diff |
General Comments 0
You need to be logged in to leave comments.
Login now