Index: git_cl.py |
diff --git a/git_cl.py b/git_cl.py |
index 582a4aaecb408ea598eb1354f14f92753d2bbc30..9e1124c65ea55ec417a941828398c50da7cddfc6 100755 |
--- a/git_cl.py |
+++ b/git_cl.py |
@@ -1183,7 +1183,8 @@ def SendUpstream(parser, args, cmd): |
logging.debug(output) |
else: |
# dcommit the merge branch. |
- retcode, output = RunGitWithCode(['svn', 'dcommit', '--no-rebase']) |
+ retcode, output = RunGitWithCode(['svn', 'dcommit', |
+ '--no-rebase', '--rmdir']) |
finally: |
# And then swap back to the original branch and clean up. |
RunGit(['checkout', '-q', cl.GetBranch()]) |