summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
40e65b9)
Now "stg push" will report only that is "Fast-forwarding" or "Pushing"
a patch. The messages about trying to fast-forward and failing are
gone.
Signed-off-by: Chuck Lever <cel@netapp.com>
if options.reverse:
patches.reverse()
if options.reverse:
patches.reverse()
- print 'Trying fast-forward...'
-
forwarded = crt_series.forward_patches(patches)
if forwarded > 1:
print 'Fast-forwarded patches "%s" - "%s"' % (patches[0],
patches[forwarded - 1])
elif forwarded == 1:
print 'Fast-forwarded patch "%s"' % patches[0]
forwarded = crt_series.forward_patches(patches)
if forwarded > 1:
print 'Fast-forwarded patches "%s" - "%s"' % (patches[0],
patches[forwarded - 1])
elif forwarded == 1:
print 'Fast-forwarded patch "%s"' % patches[0]
- else:
- print 'Fast-forwarding failed, using normal pushing'
for p in patches[forwarded:]:
if p not in unapplied:
for p in patches[forwarded:]:
if p not in unapplied: