[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC]

From: Derek Robert Price
Subject: Re: [RFC]
Date: Fri, 12 Sep 2003 11:52:30 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

Hash: SHA1

Alexey Mahotkin wrote:

|Derek and all,
|I am in a great need of a script which migrates working copies between
|CVS servers.
|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.


- --
~                *8^)

Email: address@hidden

Get CVS support at <http://ximbiot.com>!
- --
He who dies with the most toys, is, nonetheless, still dead.
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org


reply via email to

[Prev in Thread] Current Thread [Next in Thread]