Mercurial > hg4j
comparison src/org/tmatesoft/hg/core/HgPullCommand.java @ 668:d25f0324a27a
Delete bundle with push/pull changes once command completes successfully. Test for bundle generator
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 11 Jul 2013 18:41:40 +0200 |
parents | ae2d439fbed3 |
children | d2552e6a5af6 |
comparison
equal
deleted
inserted
replaced
667:fba85bc1dfb8 | 668:d25f0324a27a |
---|---|
107 RevisionSet rsCommon = new RevisionSet(common); | 107 RevisionSet rsCommon = new RevisionSet(common); |
108 HgRemoteRepository.Phases remotePhases = remote.getPhases(); | 108 HgRemoteRepository.Phases remotePhases = remote.getPhases(); |
109 phaseHelper.synchronizeWithRemote(remotePhases, rsCommon.union(added)); | 109 phaseHelper.synchronizeWithRemote(remotePhases, rsCommon.union(added)); |
110 } | 110 } |
111 progress.worked(5); | 111 progress.worked(5); |
112 incoming.unlink(); // keep the file only in case of failure | |
112 } catch (HgRuntimeException ex) { | 113 } catch (HgRuntimeException ex) { |
113 throw new HgLibraryFailureException(ex); | 114 throw new HgLibraryFailureException(ex); |
114 } finally { | 115 } finally { |
115 progress.done(); | 116 progress.done(); |
116 } | 117 } |