mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-15 09:46:16 +01:00
Use new IntegrateChangesFromWorkdirException in merge command
This commit is contained in:
@@ -185,7 +185,8 @@ public class GitMergeCommand extends AbstractGitCommand implements MergeCommand
|
|||||||
try {
|
try {
|
||||||
clone.push().call();
|
clone.push().call();
|
||||||
} catch (GitAPIException e) {
|
} catch (GitAPIException e) {
|
||||||
throw new InternalRepositoryException(context.getRepository(), "could not push merged branch " + target + " to origin", e);
|
throw new IntegrateChangesFromWorkdirException(repository,
|
||||||
|
"could not push merged branch " + target + " into central repository", e);
|
||||||
}
|
}
|
||||||
logger.debug("pushed merged branch {}", target);
|
logger.debug("pushed merged branch {}", target);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user