Re: no space on device - import

2002-09-12 Thread Larry Jones

Fredrik Svensson writes:
 
 While importing the import crashed with no space left on device
[...]
 What should I do now to save the situation ?

After fixing the space problem, just do exactly the same import again --
CVS will essentially pick up where it left off.

 If I have to move the cvs tree (I did not set it up on this device)
 what do I have to think about ?

If you can move it without changing its full path and without using
symbolic links, the move will be completely transparent.  If you keep
the path the same by using symbolic links, most things will work fine
but eventually you'll probably run into problems with things that don't.
If you change the path, then everyone who has stuff checked out will
either have to abandon it and do fresh checkouts or else they will have
to edit their CVS/Root files to point to the new location.

-Larry Jones

It COULD'VE happened by accident! -- Calvin


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: no space on device - import

2002-09-12 Thread Mike Ayers



Larry Jones wrote:

 If you can move it without changing its full path and without using
 symbolic links, the move will be completely transparent.  If you keep
 the path the same by using symbolic links, most things will work fine
 but eventually you'll probably run into problems with things that don't.
 If you change the path, then everyone who has stuff checked out will
 either have to abandon it and do fresh checkouts or else they will have
 to edit their CVS/Root files to point to the new location.

Hmmm - although it would be rarely used, I think a CVS command:

cvs relocate /old_root/ /new_root/

would be darn useful when needed...


/|/|ike




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: no space on device - import

2002-09-12 Thread Eric Siegerman

On Thu, Sep 12, 2002 at 10:50:49AM -0700, Mike Ayers wrote:
 cvs relocate /old_root/ /new_root

This doesn't belong in CVS proper.  It wouldn't hurt to have a
supported (as opposed to ./contrib) script for it, if someone
felt like writing one, and someone else felt like committing it
:-)

But failing even that, it's pretty simple; something along the
lines of:
newroot=...
for f in `find $sandbox -type f -print | grep '/CVS/Root$'`; do
echo $newroot $f
done

I used find | grep because find on its own can't filter for
.../CVS/Root (GNU find can do it, but others can only do
.../Root, which isn't specific enough.)

--

|  | /\
|-_|/ Eric Siegerman, Toronto, Ont.[EMAIL PROTECTED]
|  |  /
[...] despite reports to the contrary, it is the rare programmer who
permanently loses his sanity while coding (permanently being the
operative word).
- Eric E. Allen


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs