summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e592922)
Signed-off-by: Karl Hasselström <kha@treskal.com>
"""Attempt to push the named patch. If this results in conflicts,
halts the transaction. If index+worktree are given, spill any
conflicts to them."""
"""Attempt to push the named patch. If this results in conflicts,
halts the transaction. If index+worktree are given, spill any
conflicts to them."""
- i = self.unapplied.index(pn)
cd = self.patches[pn].data
cd = cd.set_committer(None)
s = ['', ' (empty)'][cd.is_nochange()]
cd = self.patches[pn].data
cd = cd.set_committer(None)
s = ['', ' (empty)'][cd.is_nochange()]
s = ' (conflict)'
cd = cd.set_tree(tree)
self.patches[pn] = self.__stack.repository.commit(cd)
s = ' (conflict)'
cd = cd.set_tree(tree)
self.patches[pn] = self.__stack.repository.commit(cd)
+ del self.unapplied[self.unapplied.index(pn)]
self.applied.append(pn)
out.info('Pushed %s%s' % (pn, s))
if merge_conflict:
self.applied.append(pn)
out.info('Pushed %s%s' % (pn, s))
if merge_conflict: