[Bug 4681] New: convert from git losing the data from some branches
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Thu May 21 03:02:45 UTC 2015
http://bz.selenic.com/show_bug.cgi?id=4681
Priority: normal
Bug ID: 4681
CC: durin42 at gmail.com, mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: convert from git losing the data from some branches
Severity: bug
Classification: Unclassified
OS: Windows
Reporter: morgon.kanter at gmail.com
Hardware: PC
Status: UNCONFIRMED
Version: unspecified
Component: convert
Product: Mercurial
I converted a git repository with a few branches, and found the data for a file
where one of the branches was left as a bookmark to be completely wrong. I
can't even find the correct data anywhere. The commit was recorded but the
actual data in the commit is totally bogus.
Here's an example reproduction, very easy to see the bogus data:
$ git clone https://github.com/krisajenkins/yesql.git
$ hg convert -s git yesql hg_yesql
$ cd hg_yesql
$ hg checkout remote/devel
Now inspect the file src/yesql/types.clj. See the equivalent file on the
"devel" branch in the git repository. Completely different! Furthermore, take a
look at the last commit on types.clj in the mercurial repo -- the name of the
commit is correct, but the diff is completely nonsensical.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list