All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add warning about known issues to documentation of cvsimport
@ 2009-03-23 19:53 Heiko Voigt
  2009-03-23 20:33 ` Ferry Huberts (Pelagic)
  2009-03-24  3:14 ` Jeff King
  0 siblings, 2 replies; 22+ messages in thread
From: Heiko Voigt @ 2009-03-23 19:53 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

The described issues are compiled from the tests by Michael Haggerty and me.
Because it is not apparent that these can be fixed anytime soon at least warn
unwary users not to rely on the inbuilt cvsimport to much.

Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
---
 Documentation/git-cvsimport.txt |   34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/Documentation/git-cvsimport.txt b/Documentation/git-cvsimport.txt
index b7a8c10..3123725 100644
--- a/Documentation/git-cvsimport.txt
+++ b/Documentation/git-cvsimport.txt
@@ -24,6 +24,9 @@ repository, or incrementally import into an existing one.
 Splitting the CVS log into patch sets is done by 'cvsps'.
 At least version 2.1 is required.
 
+*WARNING:* for certain situations the import leads to incorrect results.
+Please see the section <<issues,ISSUES>> for further reference.
+
 You should *never* do any work of your own on the branches that are
 created by 'git-cvsimport'.  By default initial import will create and populate a
 "master" branch from the CVS repository's main branch which you're free
@@ -164,6 +167,37 @@ If '-v' is specified, the script reports what it is doing.
 Otherwise, success is indicated the Unix way, i.e. by simply exiting with
 a zero exit status.
 
+[[issues]]
+ISSUES
+------
+Problems related to timestamps:
+
+ * If timestamps of commits in the cvs repository are not stable enough
+   to be used for ordering commits
+ * If any files were ever "cvs import"ed more than once (e.g., import of
+   more than one vendor release)
+ * If the timestamp order of different files cross the revision order
+   within the commit matching time window
+
+Problems related to branches:
+
+ * Branches on which no commits have been made are not imported
+ * All files from the branching point are added to a branch even if
+   never added in cvs
+ * files added to the source branch *after* a daughter branch was
+   created: If previously no commit was made on the daugther branch they
+   will erroneously be added to the daughter branch in git
+
+Problems related to tags:
+
+* Multiple tags on the same revision are not imported
+
+If you suspect that any of these issues may apply to the repository you
+want to import consider using these alternative tools which proved to be
+more stable in practise:
+
+* cvs2git (part of cvs2svn), `http://cvs2svn.tigris.org`
+* parsecvs, `http://cgit.freedesktop.org/~keithp/parsecvs`
 
 Author
 ------
-- 
1.6.1.2.390.gba743

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

end of thread, other threads:[~2009-04-02  5:27 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-23 19:53 [PATCH] Add warning about known issues to documentation of cvsimport Heiko Voigt
2009-03-23 20:33 ` Ferry Huberts (Pelagic)
2009-03-30 22:17   ` Heiko Voigt
2009-03-31  5:36     ` Ferry Huberts (Pelagic)
2009-03-31 16:22       ` Heiko Voigt
2009-03-31 16:53         ` [PATCH] cvsimport: Add a note about crlf options to the documentation Heiko Voigt
2009-03-31 17:10         ` [PATCH] Add warning about known issues to documentation of cvsimport Ferry Huberts (Pelagic)
2009-03-24  3:14 ` Jeff King
2009-03-30 22:36   ` Heiko Voigt
2009-03-31  0:51     ` Junio C Hamano
2009-03-31 16:45       ` [PATCH] Cleanup warning about known issues in cvsimport documentation Heiko Voigt
2009-03-31 19:49         ` Jeff King
2009-04-01 20:24           ` [PATCH v2] " Heiko Voigt
2009-03-31 11:28     ` [PATCH] Add warning about known issues to documentation of cvsimport Jeff King
2009-03-31 19:40       ` Jeff King
2009-03-31 23:55         ` Junio C Hamano
2009-04-01  8:50           ` [PATCH] Documentation: use "spurious .sp" XSLT if DOCBOOK_SUPPRESS_SP is set Chris Johnsen
2009-04-01 10:14             ` Jeff King
2009-04-02  5:25               ` Junio C Hamano
2009-04-01 10:34             ` Jeff King
2009-04-01 12:19               ` Chris Johnsen
2009-04-01 13:06                 ` Jeff King

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.