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

Unified Diff: drover.py

Issue 3041034: Only warn if the local working copy is dirty.... (Closed) Base URL: http://src.chromium.org/svn/trunk/tools/depot_tools/
Patch Set: Created 10 years, 5 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: drover.py
===================================================================
--- drover.py (revision 54362)
+++ drover.py (working copy)
@@ -456,8 +456,8 @@
if not inCheckoutRoot(working):
print "'%s' appears not to be the root of a working copy" % working
return 1
- if isSVNDirty():
- print "Working copy contains uncommitted files"
+ if (isSVNDirty() and not
+ prompt("Working copy contains uncommitted files. Continue?")):
return 1
command = 'svn log ' + url + " -r "+str(revision) + " -v"
« 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