mercurial --> plain text --> mercurial

didier deshommes dfdeshom at gmail.com
Thu Mar 27 09:24:45 CDT 2008


Hi everyone,
Sage (http://www.sagemath.org/) uses hg for its source control and recently a
question has come up about the possibility of doing the following:

 (1) export everything in the .hg repo to something (perhaps a ton of
stuff) in plain text format,
 (2) delete .hg/ directory
 (3) do something that recovers the .hg/ directory from the output of (1).

Is this possible? Suggestions very welcome.

There already have been several suggestions about exporting a series of patches
in the right order via a python script or using (or syncing with) git since git
already does that. Both sound painful.

The original thread is at:
http://groups.google.com/group/sage-devel/browse_thread/thread/7b116d902ee20d9c

Please CC me (dfdeshom at gmail.com) or sage-devel at googlegroups.com in your
replies, as I'm not currently subscribed to this list. Thanks!

didier



More information about the Mercurial mailing list