git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* git-cvsimport with cvsps output in commit msg breaks imports
@ 2010-12-09 22:03 Thomas Adam
  2010-12-10 12:48 ` Michael J Gruber
  2010-12-10 19:58 ` Andreas Schwab
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Adam @ 2010-12-09 22:03 UTC (permalink / raw)
  To: git; +Cc: cvsps, smurf

Hi all,

[ I've Cced both the cvsps maintainer and the author listed for
git-cvsimport in case it's more relevant to either tool. ]

I am wondering if anyone here is able to shed some light on a problem I've
encountered with git-cvsimport.  For ages now, I've had an automatic
conversion of a CVS repository to a Git one, using git-cvsimport to update a
repository as commits happen in CVS.

The repository in question is here:

https://github.com/ThomasAdam/tmux

Everything is on the Master branch.

More specifically, the commit which I think introduced the problem, and all
subsequent commits thereafter is here:

https://github.com/ThomasAdam/tmux/commit/f0220a10b01a764e0dc52ea1b2407f58600a30eb

Note that from this commit onwards, the commit *message* has a bunch of
cvsps output in it.  I can only surmise that this somehow causes problems
for cvsimport.

But I can't say for sure.

But if you look at the commit after f0220a10b0:

https://github.com/ThomasAdam/tmux/commit/a7e5b474af93e36e314170e2db18e544e34cf7b3

The file cvsimport has imported has actually *reverted* the file in
question.  Confer:

-/* $Id: tmux.h,v 1.582 2010/12/06 21:48:56 nicm Exp $ */
+/* $Id: tmux.h,v 1.246 2009/01/21 19:38:51 nicm Exp $ */

Is anyone able to shed some light on this?  Needless to say I am a little
perplexed that content in the commit message (if that's what it is) would
cause a cvsimport to fail.

The net result of this is I can no longer compile the master branch at all
because of this.  Oh, and should anyone be thinking it, compiling the CVS
repository which the git-cvsimport command is referencing, compiles fine.
So it's definitely a problem with the import.

Any questions or further bits of information I can provide, do shout.

TIA.

-- Thomas Adam

-- 
"Deep in my heart I wish I was wrong.  But deep in my heart I know I am
not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git-cvsimport with cvsps output in commit msg breaks imports
  2010-12-09 22:03 git-cvsimport with cvsps output in commit msg breaks imports Thomas Adam
@ 2010-12-10 12:48 ` Michael J Gruber
  2010-12-10 19:58 ` Andreas Schwab
  1 sibling, 0 replies; 3+ messages in thread
From: Michael J Gruber @ 2010-12-10 12:48 UTC (permalink / raw)
  To: Thomas Adam; +Cc: git, cvsps

Thomas Adam venit, vidit, dixit 09.12.2010 23:03:
> Hi all,
> 
> [ I've Cced both the cvsps maintainer and the author listed for
> git-cvsimport in case it's more relevant to either tool. ]
> 
> I am wondering if anyone here is able to shed some light on a problem I've
> encountered with git-cvsimport.  For ages now, I've had an automatic
> conversion of a CVS repository to a Git one, using git-cvsimport to update a
> repository as commits happen in CVS.
> 
> The repository in question is here:
> 
> https://github.com/ThomasAdam/tmux
> 
> Everything is on the Master branch.
> 
> More specifically, the commit which I think introduced the problem, and all
> subsequent commits thereafter is here:
> 
> https://github.com/ThomasAdam/tmux/commit/f0220a10b01a764e0dc52ea1b2407f58600a30eb
> 
> Note that from this commit onwards, the commit *message* has a bunch of
> cvsps output in it.  I can only surmise that this somehow causes problems
> for cvsimport.
> 
> But I can't say for sure.

The previous one has cvsps info in the commit message already, prefixed
with "|". So the problem is the previous one or the one before.

If you have cvs checkout, can spot anything between those? Can you redo
the cvsps import from that point on and check cvsps log?

Michael

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git-cvsimport with cvsps output in commit msg breaks imports
  2010-12-09 22:03 git-cvsimport with cvsps output in commit msg breaks imports Thomas Adam
  2010-12-10 12:48 ` Michael J Gruber
@ 2010-12-10 19:58 ` Andreas Schwab
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Schwab @ 2010-12-10 19:58 UTC (permalink / raw)
  To: Thomas Adam; +Cc: git, cvsps, smurf

Thomas Adam <thomas@xteddy.org> writes:

> More specifically, the commit which I think introduced the problem, and all
> subsequent commits thereafter is here:
>
> https://github.com/ThomasAdam/tmux/commit/f0220a10b01a764e0dc52ea1b2407f58600a30eb
>
> Note that from this commit onwards, the commit *message* has a bunch of
> cvsps output in it.  I can only surmise that this somehow causes problems
> for cvsimport.

The cvsps output is ambigous.  If the commit log includes text that
resembles the patchset format generated by cvsps then git-cvsimport can
easily get confused.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-10 19:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-09 22:03 git-cvsimport with cvsps output in commit msg breaks imports Thomas Adam
2010-12-10 12:48 ` Michael J Gruber
2010-12-10 19:58 ` Andreas Schwab

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).