git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Allow passing of an alternative CVSROOT via -d.

From
Simon 'corecode' Schubert <corecode@fs.ei.tum.de>
Date
Feb 19, 2007, 11:54 UTC
Message-ID
<45D98FE4.3060906@fs.ei.tum.de>
In-Reply-To
<Pine.LNX.4.63.0702191209200.22628@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin wrote:
Show 9 quoted lines
> 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   / \
Previous: Johannes Schindelin
Message 6 of 6 in “Allow passing of an alternative CVSROOT via -d.”
  1. Allow passing of an alternative CVSROOT via -d.Simon 'corecode' Schubert, Feb 18, 2007
  2. Johannes SchindelinFeb 18, 2007
  3. Simon 'corecode' SchubertFeb 18, 2007
  4. Martin LanghoffFeb 19, 2007
  5. Johannes SchindelinFeb 19, 2007
  6. Simon 'corecode' SchubertFeb 19, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.