From 538c325a12001ee4597b0e516a7e44628dd75ea1 Mon Sep 17 00:00:00 2001 From: Steven Walter Date: Thu, 17 Jul 2008 10:19:06 -0400 Subject: [PATCH] svn: rebase after push --- plugins/svn.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/svn.py b/plugins/svn.py index d941c77..3f4e25e 100644 --- a/plugins/svn.py +++ b/plugins/svn.py @@ -1,6 +1,6 @@ from yap import YapPlugin, YapError -from yap.util import get_output, takes_options, run_command, short_help +from yap.util import get_output, takes_options, run_command, run_safely, short_help import os class SvnPlugin(YapPlugin): @@ -75,6 +75,7 @@ class SvnPlugin(YapPlugin): if run_command("git update-index --refresh"): raise YapError("Can't push with uncommitted changes") os.system("git svn dcommit") + run_safely("git svn rebase") return self.yap._call_base("cmd_push", *args, **flags) -- 2.11.4.GIT