Show More
@@ -194,6 +194,12 b' def post_push(ui, repo, node, **kwargs):' | |||
|
194 | 194 | return _call_hook('post_push', extras, HgMessageWriter(ui)) |
|
195 | 195 | |
|
196 | 196 | |
|
197 | def key_push(ui, repo, **kwargs): | |
|
198 | if kwargs['new'] != '0' and kwargs['namespace'] == 'bookmarks': | |
|
199 | # store new bookmarks in our UI object propagated later to post_push | |
|
200 | ui._rc_pushkey_branches = repo[kwargs['key']].bookmarks() | |
|
201 | return | |
|
202 | ||
|
197 | 203 | # backward compat |
|
198 | 204 | log_pull_action = post_pull |
|
199 | 205 |
General Comments 0
You need to be logged in to leave comments.
Login now