Skip to content
Snippets Groups Projects
Commit 04d648b5 authored by Boris Feld's avatar Boris Feld
Browse files

notify: access the initial revision on an unfiltered repository (issue5821)

This should avoid crash when the first revision pushed end up being hidden.
parent a07fab68
No related branches found
No related tags found
No related merge requests found
......@@ -455,7 +455,7 @@
changegroup. else send one email per changeset.'''
n = notifier(ui, repo, hooktype)
ctx = repo[node]
ctx = repo.unfiltered()[node]
if not n.subs:
ui.debug('notify: no subscribers to repository %s\n' % n.root)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment