All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] git-cvsimport-script: parse multidigit revisions
@ 2005-07-12 21:35 Sven Verdoolaege
  2005-07-13  1:18 ` Matthias Urlichs
  0 siblings, 1 reply; 11+ messages in thread
From: Sven Verdoolaege @ 2005-07-12 21:35 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Matthias Urlichs, Git Mailing List

git-cvsimport-script: parse multidigit revisions.

Previously, git-cvsimport-script would fail
on revisions with more than one digit.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>

---
commit 7b5f7bcc470528beb4a0b6ef1c93ce634aaa0158
tree db66d0759f97016bd123e2351aa0e77585e3177b
parent e30e814dbfef7a6e89418863e5d7291a2d53b18f
author Sven Verdoolaege <skimo@kotnet.org> Tue, 12 Jul 2005 22:36:57 +0200
committer Sven Verdoolaege <skimo@kotnet.org> Tue, 12 Jul 2005 22:36:57 +0200

 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
@@ -675,7 +675,7 @@ while(<CVS>) {
 		$state = 9;
 	} elsif($state == 8) {
 		$logmsg .= "$_\n";
-	} elsif($state == 9 and /^\s+(\S+):(INITIAL|\d(?:\.\d+)+)->(\d(?:\.\d+)+)\s*$/) {
+	} elsif($state == 9 and /^\s+(\S+):(INITIAL|\d+(?:\.\d+)+)->(\d+(?:\.\d+)+)\s*$/) {
 #	VERSION:1.96->1.96.2.1
 		my $init = ($2 eq "INITIAL");
 		my $fn = $1;

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

end of thread, other threads:[~2005-07-26 22:05 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-12 21:35 [PATCH] git-cvsimport-script: parse multidigit revisions Sven Verdoolaege
2005-07-13  1:18 ` Matthias Urlichs
2005-07-25 23:00   ` Linus Torvalds
2005-07-25 23:42     ` Matthias Urlichs
2005-07-26  3:07       ` Linus Torvalds
2005-07-26  3:43         ` Linus Torvalds
2005-07-26 16:50           ` Linus Torvalds
2005-07-26 17:41             ` Rene Scharfe
2005-07-26 21:46           ` David Mansfield
2005-07-26 22:01             ` Linus Torvalds
2005-07-26  4:22       ` Ryan Anderson

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.