Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(912)

Unified Diff: git_cl.py

Issue 6902199: Pass --rmdir to git svn dcommit to delete empty directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()])
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698