Le 30/07/2013 14:51, joerick a écrit :
Thierry,

Many thanks for your prompt reply! I did find gitfiletree on smalltalk hub
while I was doing some research, but I thought that filetree was
specifically designed to be used with git, so I tried that first.

Filetree works with a bit more than git; it should work with svn, cvs, mercurial, etc.. anything which does version control over files.

Gitfiletree is filetree plus calls to the "git" command (git commit, git log, git archive, git branch) and the consequences...

I'll see how it works in my case. Just one question- how do I import the mcz
history into git?

You use one of the Gofer scripts you will find for migrating from one repository to another [1]:

Gofer it
squeaksource: 'Fuel';
package: 'Fuel';
package: 'FuelTests';
fetch.

Gofer it
url: 'http://ss3.gemstone.com/ss/Fuel';
package: 'Fuel';
package: 'FuelTests';
push.

[1] http://marianopeck.wordpress.com/2011/11/08/migrating-projects-to-squeaksource3/

But do that with as target a gitfiletree repo, not a filetree one; gitfiletree will do a commit for each version of a project pushed to it; filetree will overwrite the previous version. You will loose the mcz timestamps however.

Thierry
--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95

Reply via email to