Mercurial > jhg
comparison src/org/tmatesoft/hg/repo/HgManifest.java @ 313:c1e3c18fd2f2
Test manifest cancellation
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Tue, 27 Sep 2011 05:57:30 +0200 |
parents | f9f3e9b67ccc |
children | 678e326fd27c |
comparison
equal
deleted
inserted
replaced
312:f9f3e9b67ccc | 313:c1e3c18fd2f2 |
---|---|
368 // like commit in another branch a lot may be useless) | 368 // like commit in another branch a lot may be useless) |
369 nodeidPool.clear(); | 369 nodeidPool.clear(); |
370 Pool2<Nodeid> t = nodeidPool; | 370 Pool2<Nodeid> t = nodeidPool; |
371 nodeidPool = thisRevPool; | 371 nodeidPool = thisRevPool; |
372 thisRevPool = t; | 372 thisRevPool = t; |
373 iterateControl.checkCancelled(); | |
373 progressHelper.worked(1); | 374 progressHelper.worked(1); |
374 } catch (IOException ex) { | 375 } catch (IOException ex) { |
375 throw new HgBadStateException(ex); | 376 throw new HgBadStateException(ex); |
376 } | 377 } |
377 } | 378 } |