Show More
@@ -3272,7 +3272,8 def reposetup(ui, repo): | |||
|
3272 | 3272 | def invalidateall(self): |
|
3273 | 3273 | super(mqrepo, self).invalidateall() |
|
3274 | 3274 | if localrepo.hasunfilteredcache(self, 'mq'): |
|
3275 | self.mq.invalidate() | |
|
3275 | # recreate mq in case queue path was changed | |
|
3276 | delattr(self.unfiltered(), 'mq') | |
|
3276 | 3277 | |
|
3277 | 3278 | def abortifwdirpatched(self, errmsg, force=False): |
|
3278 | 3279 | if self.mq.applied and self.mq.checkapplied and not force: |
@@ -283,6 +283,11 def mqoutsidechanges(server): | |||
|
283 | 283 | # repo.mq should be invalidated |
|
284 | 284 | runcommand(server, ['qapplied']) |
|
285 | 285 | |
|
286 | runcommand(server, ['qpop', '--all']) | |
|
287 | os.system('hg qqueue --create foo') | |
|
288 | # repo.mq should be recreated to point to new queue | |
|
289 | runcommand(server, ['qqueue', '--active']) | |
|
290 | ||
|
286 | 291 | if __name__ == '__main__': |
|
287 | 292 | os.system('hg init') |
|
288 | 293 |
General Comments 0
You need to be logged in to leave comments.
Login now