Collect Mercurial Repository

Hello all,

I am looking for the mercurial repository that https://github.com/opendatakit/collect was migrated from. I've found that the the git version has a bunch of root commits. This mucks up the history as it obfuscates the history of files.

I ran into the same issue when I used github's automatic import for the javarosa mercurial repository. I've now found a better tool to convert a mercurial repo to git and I'd like to use it on the collect repository.

What do you mean by a bunch of root commits?

And what tool do you think does this better?

I've un-deprecated collect and playservices on googlecode so you can access
them.

https://code.google.com/p/opendatakit/source/checkout

ยทยทยท On Fri, Jul 17, 2015 at 6:48 AM, wrote:

Hello all,

I am looking for the mercurial repository that
https://github.com/opendatakit/collect was migrated from. I've found
that the the git version has a bunch of root commits. This mucks up the
history as it obfuscates the history of files.

I ran into the same issue when I used github's automatic import for the
javarosa mercurial repository. I've now found a better tool to convert a
mercurial repo to git and I'd like to use it on the collect repository.

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Mitch,

Thanks a million! I was able to export the mercurial repository and rebase the couple of commits that were made since it was exported to github. I've posted this new repository to github. https://github.com/Jonathan727/collect

Feel free to do what you will with it and let me know if you have any other questions or would consider replacing what's in odk's repository.

And what tool do you think does this better?

I used https://github.com/frej/fast-export

What do you mean by a bunch of root commits?

There are many commits in https://github.com/opendatakit/collect.git that don't have any parent commit. This makes it look like a bunch of files were created for the first time in these parentless commits.

Having all these parentless commits seems to affect the output of git log, blame, annotate and others. As an example, I've attached the output of git blame for a file. If you run it on the current repository, most of the changes are attributed to commit ^db28500 in January this year.

FormEntryActivityProperBlame.txt (425 KB)

FormEntryActivityCurrentBlame.txt (425 KB)