git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Simon 'corecode' Schubert <corecode@fs.ei.tum.de>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: Martin Langhoff <martin@catalyst.net.nz>, git@vger.kernel.org
Subject: Re: [PATCH] Allow passing of an alternative CVSROOT via -d.
Date: Mon, 19 Feb 2007 12:54:12 +0100	[thread overview]
Message-ID: <45D98FE4.3060906@fs.ei.tum.de> (raw)
In-Reply-To: <Pine.LNX.4.63.0702191209200.22628@wbgn013.biozentrum.uni-wuerzburg.de>

[-- Attachment #1: Type: text/plain, Size: 3165 bytes --]

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   / \


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

      reply	other threads:[~2007-02-19 11:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-18 17:17 [PATCH] Allow passing of an alternative CVSROOT via -d Simon 'corecode' Schubert
2007-02-18 17:35 ` Johannes Schindelin
2007-02-18 17:53   ` Simon 'corecode' Schubert
2007-02-19  5:25 ` Martin Langhoff
2007-02-19 11:10   ` Johannes Schindelin
2007-02-19 11:54     ` Simon 'corecode' Schubert [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45D98FE4.3060906@fs.ei.tum.de \
    --to=corecode@fs.ei.tum.de \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=martin@catalyst.net.nz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).