Print 'refresh done' before pushing other patches
authorCatalin Marinas <catalin.marinas@gmail.com>
Thu, 7 Dec 2006 22:02:40 +0000 (22:02 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Thu, 7 Dec 2006 22:02:40 +0000 (22:02 +0000)
This is for the case where --patch was specified

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
stgit/commands/refresh.py

index 2d164cd..0efe1df 100644 (file)
@@ -144,10 +144,10 @@ def func(parser, options, args):
                                  committer_email = options.commemail,
                                  backup = True, sign_str = sign_str)
 
+        print 'done'
+
         if options.patch:
             between.reverse()
             push_patches(between)
-
-        print 'done'
     else:
         print 'Patch "%s" is already up to date' % patch