Re: Maintaining a partial cvs workarea

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

 



Hi,

On Sun, Aug 24, 2008 at 07:44:39PM +0300, Axel Thimm wrote:
> I'm keeping only a partial checkout of the packages, e.g. the ones I'm
> maintaining. Now I'd like to be able to cvs up and have all updates
> flow in, but if I do so cvs will want to get all other thousand
> packages in.
> 
> Until now I'm using a poor man's solution with a for loop and
> pushd/popd, but it's extremely slow due to login in for each package.
> 
> Is there a more clever way to get cvs up running w/o pulling in all of
> the cvsroot? I could probably manually edit CVS/Entries, but this feels
> a bit dirty. What are other packagers doing?

Sometimes it helps posting a problem to think more about it and solve
it. For posterity and google searches:

Actually what I wanted is already the default. But one usually wants
cvs to automatically discover new folders and pull them in (the -d
option). This is so common, that at one time in your cvs life you will
add it to ~/.cvsrc as a default option like

$ cat ~/.cvsrc 
diff -ud
update -P -d

and you will forget about it, and you will make silly help requests
like the one I did above. :)

Now you dont need to remove the otherwise useful -d switch to update,
instead use

cvs -fq up

to get the desired (non-verbose) updating w/o getting new packages in.
-- 
Axel.Thimm at ATrpms.net

Attachment: pgpjrF4SmH70l.pgp
Description: PGP signature

_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux