From a2d4b0dc911efbfd8dc3b4f81571b46fa6b2ed1a Mon Sep 17 00:00:00 2001 From: Catalin Marinas Date: Fri, 13 Jul 2007 23:43:54 +0100 Subject: [PATCH] 'sync' code comments clean-up after commit 6b79a09c Signed-off-by: Catalin Marinas --- stgit/commands/sync.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/stgit/commands/sync.py b/stgit/commands/sync.py index 2ec74277..5e33324a 100644 --- a/stgit/commands/sync.py +++ b/stgit/commands/sync.py @@ -66,8 +66,6 @@ def __series_merge_patch(base, patchdir, pname): def func(parser, options, args): """Synchronise a range of patches """ - global crt_series - if options.undo: if options.ref_branch or options.series: raise CmdException, \ @@ -81,8 +79,6 @@ def func(parser, options, args): return if options.ref_branch: - # the main function already made crt_series to be the remote - # branch remote_series = stack.Series(options.ref_branch) if options.ref_branch == crt_series.get_name(): raise CmdException, 'Cannot synchronise with the current branch' -- 2.11.4.GIT