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

[PATCH] Re: "git cvsimport"

From
TMTommy M. McGuire <mcguire@crsr.net>
Date
Jun 10, 2005, 06:22 UTC
Message-ID
<20050610062206.GA3992@immutable.crsr.net>
In-Reply-To
<Pine.LNX.4.58.0506071556000.2286@ppc970.osdl.org>
On Tue, Jun 07, 2005 at 04:03:53PM -0700, Linus Torvalds wrote:
Show 12 quoted lines
> I'd love it if somebody tested the remote case (and, if it works, sends me
> a patch that just removes the anal tests in git-cvsimport-script), and
> maybe even updated the information a bit more.. As it is, that
> Documentation/cvs-migration.txt file is a bit on the light side.
> 
> Finally, I don't know what to do about cvsps options. It seems that the 
> default time-fuzz is a bit too long for some projects, so at least that 
> one should be overridable. So my silly script is not exactly wonderful, 
> but I think it's more approachable than people doing the magic by hand 
> (and forgetting to set TZ to UTC and the "-A" flag etc etc).
> 
> 		Linus

This is the first of a short sequence of patches, which just removes the tests in in git-cvs-import-script. It does, indeed, just work.

Signed-off-by: Tommy McGuire <mcguire@crsr.net>
Remove unneeded sanity tests, allowing remote CVS repos.

--- commit 21b4b44a5deee7985f14d0f4776ad0d489092a96 tree a48fbf33e90511554077f2c18053f1c000c2edb5 parent 98a96b00b88ee35866cd0b1e94697db76bd5ddf9 author Tommy M. McGuire <mcguire@crsr.net> Thu, 09 Jun 2005 13:12:25 -0500 committer Tommy M. McGuire <mcguire@crsr.net> Thu, 09 Jun 2005 13:12:25 -0500

 git-cvsimport-script |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git-cvsimport-script b/git-cvsimport-script
--- a/git-cvsimport-script
+++ b/git-cvsimport-script
@@ -7,7 +7,7 @@ fi
 
 export CVSROOT="$1"
 export MODULE="$2"
-if [ ! "$CVSROOT" ] || [ ! "$MODULE" ] || [ ! -d $CVSROOT ] || [ ! -d $CVSROOT/CVSROOT ] || [ ! -d $CVSROOT/$MODULE ] ; then
+if [ ! "$CVSROOT" ] || [ ! "$MODULE" ] ; then
 	echo "Usage: git cvsimport <cvsroot> <module>"
 	exit 1
 fi



!-------------------------------------------------------------flip-
Previous: Tommy M. McGuireNext: Tommy M. McGuire
Message 3 of 6 in “"git cvsimport"”
  1. Linus TorvaldsJun 7, 2005
  2. Tommy M. McGuireJun 8, 2005
  3. Re: "git cvsimport"Tommy M. McGuire, Jun 10, 2005
  4. git cvsimport sanity checkingTommy M. McGuire, Jun 10, 2005
  5. cvs-migration.txtTommy M. McGuire, Jun 10, 2005
  6. git cvsimport fuzz argumentTommy M. McGuire, Jun 10, 2005

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.