[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
a patch for cvschroot (CVS Utilities)
From: |
Ni Shurong |
Subject: |
a patch for cvschroot (CVS Utilities) |
Date: |
Fri, 13 Aug 2004 08:38:54 +0800 |
Hi,
when I use cvschroot to change CVSROOT of my working copy, I found a
problem.
My cvs server opens several repositories, and each repository use a
separate port, so my CVSROOT is :pserver:address@hidden:port/home/cvs
but I found that cvschroot can not recognize my new CVSROOT
so I write this patch;
--- cvschroot.orig 2004-08-12 17:10:11.000000000 +0800
+++ cvschroot 2004-08-12 16:49:58.000000000 +0800
@@ -76,7 +76,7 @@
sub split_root ($)
{
my $res;
- if ( shift(@_) =~ m{^([^ ]+:)?(/[^:@ ]+)$} ) {
+ if ( shift(@_) =~ m{^([^ ]+:[\d]*)?(/[^:@ ]+)$} ) {
$res = $2;
} else {
error shift(@_) . " not recognized";
Hope this is usful for helping others :)
Thanks,
srni
----
Ni Shurong <address@hidden>
MAIL : address@hidden
QQ : 412844
MSN : address@hidden
BLOG : http://blog.njmars.com/myhan/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- a patch for cvschroot (CVS Utilities),
Ni Shurong <=