mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
Don't die calling outgoing hook if we have no changesets
This commit is contained in:
parent
be828d059c
commit
c0ee3e5b00
@ -1386,7 +1386,9 @@ class localrepository(object):
|
||||
yield chnk
|
||||
|
||||
yield changegroup.closechunk()
|
||||
self.hook('outgoing', node=hex(nodes[0]), source=source)
|
||||
|
||||
if nodes:
|
||||
self.hook('outgoing', node=hex(nodes[0]), source=source)
|
||||
|
||||
return util.chunkbuffer(gengroup())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user