chiark / gitweb /
'sync' code comments clean-up after commit 6b79a09c
authorCatalin Marinas <catalin.marinas@gmail.com>
Fri, 13 Jul 2007 22:43:54 +0000 (23:43 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Fri, 13 Jul 2007 22:43:54 +0000 (23:43 +0100)
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
stgit/commands/sync.py

index 2ec74277b93278cafa471daad751f29df1dfe5df..5e33324af7c66e426844a413318849a41a0f9670 100644 (file)
@@ -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'