Only warn if the local working copy is dirty.

That change allows for merging multiple revisions into a local working copy.

TEST=none
BUG=none

Review URL: http://codereview.chromium.org/3041034

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@54399 0039d316-1c4b-4281-b951-d872f2087c98
experimental/szager/collated-output
jochen@chromium.org 15 years ago
parent d05e5fb09f
commit ebd0b54500

@ -456,8 +456,8 @@ def drover(options, args):
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"

Loading…
Cancel
Save