Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Oct 2000 16:07:29 -0700
From:      "David O'Brien" <obrien@FreeBSD.ORG>
To:        Gerhard Sittig <Gerhard.Sittig@gmx.net>
Cc:        FreeBSD Current <freebsd-current@FreeBSD.ORG>
Subject:   Re: removing global from tree
Message-ID:  <20001014160729.A25235@dragon.nuxi.com>
In-Reply-To: <20001014223211.T25237@speedy.gsinet>; from Gerhard.Sittig@gmx.net on Sat, Oct 14, 2000 at 10:32:11PM %2B0200
References:  <20001014155710.P25237@speedy.gsinet> <200010141816.LAA14274@john.baldwin.cx> <20001014223211.T25237@speedy.gsinet>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 14, 2000 at 10:32:11PM +0200, Gerhard Sittig wrote:
> Backing out an rm'ed file should be as difficult as doing the sequence
> I just tested to make sure:
> 
>   F=toberemoved.txt

Coming up with the "F" list can be more than just ``ls -R
/home/ncvs/src/contrib/global'' as older versions of global might have
had files that weren't part of the the last version.  Thus I'd have had
to keep the commit message (or go find it in the archive, which would be
some effort), to get the real list of files to revive.


>   F=toberemoved.txt  # the name is misleading now :)
>   cvs log $F
>   REV=1.2  # the one before removal
>   cvs up -p -r$REV $F > $F
>   cvs add $F
>   cvs ci -m "revived file $F"
>   # and everything could be like before ...

As you've just shown, this can be a real PITA.
 

> But I feel that David wants to know this, too.

Huh?  Do what??  I fully understand how to remove, add, and revive files
in the repo.

-- 
-- David  (obrien@FreeBSD.org)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001014160729.A25235>