Mercurial > hg4j
diff 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 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgPullCommand.java Thu Jul 11 17:54:08 2013 +0200 +++ b/src/org/tmatesoft/hg/core/HgPullCommand.java Thu Jul 11 18:41:40 2013 +0200 @@ -109,6 +109,7 @@ phaseHelper.synchronizeWithRemote(remotePhases, rsCommon.union(added)); } progress.worked(5); + incoming.unlink(); // keep the file only in case of failure } catch (HgRuntimeException ex) { throw new HgLibraryFailureException(ex); } finally {