From: Simon 'corecode' Schubert Date: Mon, 19 Feb 2007 11:54:12 GMT Subject: Re: [PATCH] Allow passing of an alternative CVSROOT via -d. Message-ID: <45D98FE4.3060906@fs.ei.tum.de> In-Reply-To: Johannes Schindelin wrote: > On Mon, 19 Feb 2007, Martin Langhoff wrote: >>> This is necessary if using CVS in an asymmetric fashion, i.e. when the >>> CVSROOT you are checking out from differs from the CVSROOT you have to >>> commit to. >> I guess you have an anon checkout and then use CVSROOT at commit time to >> switch to cvs-over-ssh perhaps even on a different server. >> In-te-rest-ing. > It was kind of common operation when SourceForge had immense problems with > SSH checkout, but the anonymous services were up-and-running. Large projects like *BSD are using cvsup to distribute the repos, and you checkout from a local copy then. To commmit, you obviously have to use the master cvs server, though. > I am still worried why "CVSROOT=bla git cvsexportcommit ..." does not run > as expected, though. sweatshorts % cvs status Makefile.inc1 /usr/src|12:48:57 =================================================================== File: Makefile.inc1 Status: Up-to-date Working revision: 1.101 2007-01-19 08:51:44 +0100 Repository revision: 1.101 /home/dcvs/src/Makefile.inc1,v Commit Identifier: 9177lVhuKoFNs53s Sticky Tag: (none) Sticky Date: (none) Sticky Options: (none) sweatshorts % CVSROOT=crater:/cvs cvs status Makefile.inc1 /usr/src|12:49:03 =================================================================== File: Makefile.inc1 Status: Up-to-date Working revision: 1.101 2007-01-19 08:51:44 +0100 Repository revision: 1.101 /home/dcvs/src/Makefile.inc1,v Commit Identifier: 9177lVhuKoFNs53s Sticky Tag: (none) Sticky Date: (none) Sticky Options: (none) sweatshorts % cvs -d crater:/cvs status Makefile.inc1 /usr/src|12:49:09 =================================================================== File: Makefile.inc1 Status: Needs Patch Working revision: 1.101 Repository revision: 1.102 /cvs/src/Makefile.inc1,v Commit Identifier: zV7uPbXLmK5jW17s Sticky Tag: (none) Sticky Date: (none) Sticky Options: (none) sweatshorts % rm CVS/Root /usr/src|12:52:44 sweatshorts % CVSROOT=crater:/cvs cvs status Makefile.inc1 /usr/src|12:52:48 =================================================================== File: Makefile.inc1 Status: Needs Patch Working revision: 1.101 Repository revision: 1.102 /cvs/src/Makefile.inc1,v Commit Identifier: zV7uPbXLmK5jW17s Sticky Tag: (none) Sticky Date: (none) Sticky Options: (none) so that only works when there is no CVS/Root file. cheers simon -- Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\ Work - Mac +++ space for low €€€ NOW!1 +++ Campaign \ / Party Enjoy Relax | http://dragonflybsd.org Against HTML \ Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \