Skip to content

Commit 6d21541

Browse files
committed
Don't fail immediately when there's nothing to graft
1 parent 7fd7713 commit 6d21541

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cinnabar/githg.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,8 +432,6 @@ def __init__(self, store):
432432
'Reading {} graft candidates',
433433
GitHgHelper.rev_list(b'--full-history', *refs)):
434434
self._graft_trees[tree].append(node)
435-
if not self._graft_trees:
436-
raise NothingToGraftException()
437435

438436
def _is_cinnabar_commit(self, commit):
439437
data = self._store.read_changeset_data(commit)

0 commit comments

Comments
 (0)