https://bz.mercurial-scm.org/show_bug.cgi?id=5650
Bug ID: 5650 Summary: Ability to use timestamp from GIT_AUTHOR_DATE Product: Mercurial Version: 4.2.2 Hardware: PC OS: Windows Status: UNCONFIRMED Severity: feature Priority: wish Component: convert Assignee: bugzi...@mercurial-scm.org Reporter: mojca.miklavec.li...@gmail.com CC: duri...@gmail.com, mercurial-devel@mercurial-scm.org I'm trying to convert a repository from git to hg with hg convert git-repo hg-repo Git stores two different timestamps: * GIT_AUTHOR_DATE * GIT_COMMIT_DATE (maybe the name of the variables is not 100% exact). The problem is that I ran some repo modifications (some rebasing etc.) before doing the conversion, so GIT_COMMIT_DATE has been changed to the time when I did those modifications, while GIT_AUTHOR_DATE remains the same. The conversion then used GIT_COMMIT_DATE (but GIT_AUTHOR_NAME!!!) as the source of the data which is completely useless for me. My workaround was eventually to run git rebase --committer-date-is-author-date <sha> to modify the timestamps (luckily I have a linear history; I could probably modify the timestamps in another way, but ...) I would say that GIT_AUTHOR_DATE would make more sense in the conversion anyway, but if you feel that GIT_COMMITTER_DATE is more useful as default, I would like to request at least an option to fix that during conversion without having to do acrobatics with git history first. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel