public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Simon 'corecode' Schubert <corecode@fs•ei.tum.de>
To: git@vger•kernel.org
Subject: Re: cvsimport/cvsps: wrong revisions in branch
Date: Thu, 25 Jan 2007 15:35:30 +0100	[thread overview]
Message-ID: <45B8C032.7020004@fs.ei.tum.de> (raw)
In-Reply-To: <20070125142242.1402.qmail@b4b5deb4d44aa3.315fe32.mid.smarden.org>

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

Gerrit Pape wrote:
> Hi, I struggle with importing a CVS repository into git to switch over
> development.  In some branches there're differences in the source code
> after importing into git.  We tracked this down to tags and branches
> that where tagged partially in CVS, first a tag was set on one
> subdirectory tree (sources), later on another subdirectory tree (docs).
> This confuses cvsimport or cvsps, the tag in git after import doesn't
> match the tag in CVS.

how do you expect this to ever work?  your tag is not a time stable one.  the tag spans multiple change sets.  best forget the whole tag thing, seriously.  my cvs converter [1] already has a hard time reproducing branches correctly.  doing this with tags is impossible.  svn can do this because they don't have tags, so it is a kind of fake.  of course you could do this in git as well by actually creating a branch for a tag, but it is really messy.  just don't do that.

good luck
  simon

[1]: <http://ww2.fs.ei.tum.de/~corecode/hg/fromcvs>, not 100% yet, but probably the best you can get at the moment.  i'm a perfectionist, so i might never call it "done".

-- 
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-01-25 14:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-25 14:22 cvsimport/cvsps: wrong revisions in branch Gerrit Pape
2007-01-25 14:35 ` Simon 'corecode' Schubert [this message]
2007-01-25 15:05   ` Uwe Kleine-König
2007-01-25 16:24     ` Simon 'corecode' Schubert
2007-01-25 17:52   ` Shawn O. Pearce
2007-01-26  2:06   ` Martin Langhoff
2007-01-26  6:20     ` Simon 'corecode' Schubert
2007-01-26 23:12       ` Robin Rosenberg
2007-01-26  9:00     ` Gerrit Pape
2007-01-26 11:56   ` Jakub Narebski

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=45B8C032.7020004@fs.ei.tum.de \
    --to=corecode@fs$(echo .)ei.tum.de \
    --cc=git@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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