diff options
author | Jesse Keating <jkeating@redhat.com> | 2011-02-17 18:27:14 -0700 |
---|---|---|
committer | Jesse Keating <jkeating@redhat.com> | 2011-02-18 12:04:27 -0700 |
commit | 4c7436440b4687e618347929ce9ac054acbb319c (patch) | |
tree | 5a65efa861d766127a6eace265cafa2936891920 /src | |
parent | 2e114216ebe376b6df03d3acc5c3cc2c7db876cf (diff) | |
download | fedora-packager-4c7436440b4687e618347929ce9ac054acbb319c.tar.gz fedora-packager-4c7436440b4687e618347929ce9ac054acbb319c.tar.xz fedora-packager-4c7436440b4687e618347929ce9ac054acbb319c.zip |
Leave a hint about things to remove later
Diffstat (limited to 'src')
-rw-r--r-- | src/pyfedpkg/__init__.py | 2 |
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' % |