info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Convenient way to commit?


From: Hans Schwaebli
Subject: Re: Convenient way to commit?
Date: Wed, 21 Mar 2007 04:56:27 -0700 (PDT)

I can avoid find method and Cygwin by using Ant's fileset. It worked, but I ran in other problems and aborted this approach. I think it could not handle deleted files when committing. Anyway, you tell me there is no high level access to this and not even a third party command somwhere on the net extending CVS (like the third party stuff for Ant). So I give up and continue using the zip file which blows up at 2 GB every month or so. Its okay. Now I know I didn't overlook some possible easy and productive solution for this in the CVS context.


Spiro Trikaliotis <address@hidden> wrote:
Hello Hans,

* On Wed, Mar 21, 2007 at 03:35:35AM -0700 Hans Schwaebli wrote:

> I will not die if I can't solve these problems, don't bother...

I am sorry I cannot give you the answers you would like to hear.
Unfortunately, it would not help you, either.

> It has to be in CVS because that would be the easiest way.

As you see, it is not the easiest way. If it were, you would not have
these problems you are experiencing. ;)

> I really don't have time to explore things for days and get such basic
> stuff like recursive cvs add working. Even this discussion eats too
> much time. Lets get it pragmatical again please.

Ok, pragmatical.

Assuming every directory needed is already in CVS, a simple

find . -name \*.jar|xargs -n 10 cvs add -kb

would add all the *.jar files into CVS. CVS will complain about files
already under its control, but you can safely ignore this.

Of course, this will only work if

a. all directories are already there,
b. you only need to add *.jar files.

Of course, you also need a "unixoid" find and a "unixoid" xargs for this
to work. This could be installed on Windows with the help of Cygwin
(http://www.cygwin.com/)


> Do you ever know how bosses think?

Of course. It is your task to convince them that this time is really
needed. ;)


HTH,
Spiro.

--
Spiro R. Trikaliotis http://opencbm.sf.net/
http://www.trikaliotis.net/ http://www.viceteam.org/


The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]