Felipe Contreras <felipe.contre...@gmail.com> writes:
> Keep track of Mercurial revisions as Git notes under the 'refs/notes/hg'
> ref, this way, the user can easily see which Mercurial revision
> correspond to certain Git commit.
> Unfortunately, there's no way to efficiently update the notes after
> doing an export (push), so they'll have to be updated when importing
> Signed-off-by: Felipe Contreras <felipe.contre...@gmail.com>
> contrib/remote-helpers/git-remote-hg | 35 ++++++++++++++++++++++++++++++++++-
> 1 file changed, 34 insertions(+), 1 deletion(-)
> diff --git a/contrib/remote-helpers/git-remote-hg
> index 307d82c..7f50b40 100755
> --- a/contrib/remote-helpers/git-remote-hg
> +++ b/contrib/remote-helpers/git-remote-hg
> @@ -23,8 +23,12 @@ import subprocess
> import urllib
> import atexit
> import urlparse, hashlib
> +import time as ptime
> +# If you want to see Mercurial revisions as Git commit notes:
> +# git config core.notesRef refs/notes/hg
Yup. This is better. Will queue.
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html