summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
24eede7)
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
if not os.path.isfile(base):
raise CmdException, 'Branch "%s" is not controlled by StGit' % branch
if not os.path.isfile(base):
raise CmdException, 'Branch "%s" is not controlled by StGit' % branch
- print 'Protecting branch "%s"...' % branch
+ print 'Protecting branch "%s"...' % branch,
+ sys.stdout.flush()
stack.Series(branch).protect()
stack.Series(branch).protect()
return
elif options.rename:
return
elif options.rename:
if not os.path.isfile(base):
raise CmdException, 'Branch "%s" is not controlled by StGit' % branch
if not os.path.isfile(base):
raise CmdException, 'Branch "%s" is not controlled by StGit' % branch
- print 'Unprotecting branch "%s"...' % branch
+ print 'Unprotecting branch "%s"...' % branch,
+ sys.stdout.flush()
stack.Series(branch).unprotect()
stack.Series(branch).unprotect()
return
elif len(args) == 1:
return
elif len(args) == 1: