From 4c7436440b4687e618347929ce9ac054acbb319c Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Thu, 17 Feb 2011 18:27:14 -0700 Subject: Leave a hint about things to remove later --- src/pyfedpkg/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/pyfedpkg/__init__.py') 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' % -- cgit