mercurial --> plain text --> mercurial
dfdeshom at gmail.com
Thu Mar 27 10:00:01 CDT 2008
Vladimir Marek <Vladimir.Marek <at> Sun.COM> writes:
> > 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.
> tar ? Maybe you could explain your motivation.
Thanks for the reply. The concern is that someone could sneak a virus or
malignant code in the in the .hg/ directory (or anywhere else) that would
damage/alter part of the meta-data in the repo.
How would you use tar to do the above?
More information about the Mercurial