summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2011-02-17 18:27:14 -0700
committerJesse Keating <jkeating@redhat.com>2011-02-18 12:04:27 -0700
commit4c7436440b4687e618347929ce9ac054acbb319c (patch)
tree5a65efa861d766127a6eace265cafa2936891920
parent2e114216ebe376b6df03d3acc5c3cc2c7db876cf (diff)
downloadfedora-packager-4c7436440b4687e618347929ce9ac054acbb319c.zip
fedora-packager-4c7436440b4687e618347929ce9ac054acbb319c.tar.gz
fedora-packager-4c7436440b4687e618347929ce9ac054acbb319c.tar.xz
Leave a hint about things to remove later
-rw-r--r--src/pyfedpkg/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pyfedpkg/__init__.py b/src/pyfedpkg/__init__.py
index 6a5f9da..ac28178 100644
--- a/src/pyfedpkg/__init__.py
+++ b/src/pyfedpkg/__init__.py
@@ -502,6 +502,8 @@ def clone_with_dirs(module, user, path=None):
branch_path = os.path.join(top_path, branch.split('/master')[0])
branch_git = git.Git(branch_path)
branch_git.config("--replace-all", "remote.origin.url", giturl)
+ # Remove the push.default setting when new branches are
+ # active upstream
branch_git.config('--add', 'push.default', 'tracking')
except (git.GitCommandError, OSError), e:
raise FedpkgError('Could not locally clone %s from %s: %s' %