diff --git a/README.asciidoc b/README.asciidoc index bd245fa..f4fc8c5 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -205,14 +205,6 @@ If somehow your workflow relies on having these in the old place: % git config --global remote-hg.show-private-refs true -------------------------------------- -The `refs/notes/hg` mentioned above that provide info on corresponding hg -changeset are so far only updated upon a fetch. If you prefer to have -these notes as soon as possible, then a push can be made to do some extra -work on this: --------------------------------------- -% git config --global remote-hg.push-updates-notes true --------------------------------------- - === Helper Commands === Beyond that, a 'git-hg-helper' script has been added that can aid in the git-hg diff --git a/doc/git-remote-hg.txt b/doc/git-remote-hg.txt index c122a08..9c290b2 100644 --- a/doc/git-remote-hg.txt +++ b/doc/git-remote-hg.txt @@ -84,13 +84,6 @@ maintained not so visibly. If that, however, would be preferred: % git config --global remote-hg.show-private-refs true -------------------------------------- -By default, the refs/notes/hg are not updated upon push, though such can be -enabled: - --------------------------------------- -% git config --global remote-hg.push-updates-notes true --------------------------------------- - NOTES ----- diff --git a/git-remote-hg b/git-remote-hg index a8e4784..cbc7efc 100755 --- a/git-remote-hg +++ b/git-remote-hg @@ -1573,9 +1573,9 @@ def do_push(parser): die('unhandled push command: %s' % (line)) print # at this stage, all external processes are done, marks files written - # so we can use those do update notes if so desired - if get_config_bool('remote-hg.push-updates-notes') and revs: - update_notes(revs, "Update notes on push") + # so we can use those to update notes + # do so unconditionally because we can and should .... + update_notes(revs, "Update notes on push") def do_option(parser): global dry_run, force_push