X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/9a4bf4548713d6021f4ce8a48bc2d7d65ff06106..254d99f846f3427d21bc9224cd693bb4806d2d31:/stgit/commands/pull.py diff --git a/stgit/commands/pull.py b/stgit/commands/pull.py index e47858a..0608fb6 100644 --- a/stgit/commands/pull.py +++ b/stgit/commands/pull.py @@ -53,7 +53,7 @@ def func(parser, options, args): if len(args) >= 1: repository = args[0] else: - repository = config.get('branch.%s.remote' % git.get_head_file()) or 'origin' + repository = crt_series.get_parent_remote() refspec = None if len(args) == 2: