[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Derek Robert Price
Fri, 12 Sep 2003 11:52:30 -0400
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1
-----BEGIN PGP SIGNED MESSAGE-----
Alexey Mahotkin wrote:
|Derek and all,
|I am in a great need of a script which migrates working copies between
|It has to do so by editing CVS/Root appropriately, and do it reliably.
|I was just extremely bitten by a typo in `find' command. Sorry, I
|will not repeat how it looked, but it cost me several thousand nerve
|cells no doubt.
|Tell me if this is not needed and someone has already written it and
|contributed to CVS.
I contributed a script called "newcvsroot.sh" not too long ago. It's in
the contrib directory of the 1.12.x branch. Be a little careful - it
might look like it handles spaces in directory names properly, but I
don't think it does. That could probably be fixed using the -exec
argument to find rather than a for loop.
|I will call my script "cvs-migrate-wc" and will write it in perl, with
|full documentation. If you have better naming suggestions -- share.
The newcvsroot.sh script is rather short and to ther point. I didn't
think it deserved perl, but feel free.
|It is simple and trivial, anyone can write it. We just have to get
|rid of this once and for all.
|--alexm, who has just destroyed half of a site which goes to
|production tomorrow, but almost restored it happily
Ouch. Glad to hear you restored most of it.
Get CVS support at <http://ximbiot.com>!
He who dies with the most toys, is, nonetheless, still dead.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
|[Prev in Thread]
||[Next in Thread]|
- Re: [RFC],
Derek Robert Price <=