Commit 1bb04aa1 authored by maruel@chromium.org's avatar maruel@chromium.org

Remove the use of --non-recursive flag.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17328 0039d316-1c4b-4281-b951-d872f2087c98
parent ca14c12a
......@@ -879,7 +879,14 @@ def Commit(change_info, args):
" the commit. May the --force be with you.")
return
commit_cmd = ["svn", "commit", "--non-recursive"]
# We face a problem with svn here: Let's say change 'bleh' modifies
# svn:ignore on dir1\. but another unrelated change 'pouet' modifies
# dir1\foo.cc. When the user `gcl commit bleh`, foo.cc is *also committed*.
# The only fix is to use --non-recursive but that has its issues too:
# Let's say if dir1 is deleted, --non-recursive must *not* be used otherwise
# you'll get "svn: Cannot non-recursively commit a directory deletion of a
# directory with child nodes". Yay...
commit_cmd = ["svn", "commit"]
filename = ''
if change_info.issue:
# Get the latest description from Rietveld.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment