Re: Testing for updated files

2005-02-07 Thread russ . sherk
Bill Moseley wrote: My hope was I could do something like: cvs update do_something_with_updated_copy via cron to update a local build whenever there's a change in cvs. Anyone have a suggestion how to tell when a cvs update actually updates files in the local copy? -- Bill Moseley

Re: Making cvs not check out the root directory of your repository

2005-02-07 Thread russ . sherk
More specific to your situation; mkdir www; cvs co -d./www Project1/www This will check out module Project1/www to local direcory ./www The previous posters command will check out Project1/* to local dir. So if you had Project1/www, Project1/test, Project1/resource, you'd end up with ./www,

Re: how to rollback

2005-02-07 Thread russ . sherk
Jim: Most recent? Not sure what you mean by that. The first -j tag is the destination tag. The second is the source tag. Frank: you can read this line: cvs up -jafter -jbefore [module names] Like this: I want to update the cvs sources labeled 'after' with the changes taken from sources

Re: RV: Newbie question. How to manage replaced files

2005-02-07 Thread russ . sherk
Spiro: Unified diff format will not solve the posters problem of safely committing arbitrary files. It will also create more work. As Pierre stated, Nestor should implement tighter guidelines for obtaining and submitting sources. This can be difficult if dealing with 3rdparty dev-co's (or

Re: Long version numbers | Tedious to keep track

2005-03-01 Thread Russ Sherk
Why are you using these rel nums? CVS auto generates these version numbers. The length of the version number must grow when branches are made so that cvs can track multiple versions of (base) versions of a file. There really should only be a few scenarios which require direct use of the cvs

Re: Safely changing the repository - How to do it?

2005-03-04 Thread Russ Sherk
You can also try specifying the new CVSROOT using the -d option. This will not change the CVS/Root file at all but will allow checkin/update etc. cvs -d/my/new/cvsRoot ci myFiles After that is done, you can delete the working copy and check out a new one. --Russ On Fri, 4 Mar 2005 13:21:36

Re: Checkout after a change

2005-03-09 Thread Russ Sherk
man bash: - histchars The two or three characters which control history expansion and tokenization (see HISTORY EXPANSION below). The first character is the history expan­ sion character, the character which signals the

Re: front-end

2005-03-10 Thread Russ Sherk
Some windows users where I work use both. At first glance it seems redundant. TortiseCVS (as Dey states) is great for simple update, commit etc.. So if you already have repositories set up, it provides a simple way to access your code. WinCVS OTOH provides greater control and detail about the

Re: Checkout after a change

2005-03-14 Thread Russ Sherk
This seems more like a bash/shell scripting question than a cvs question. Try Google groups for gnu Bash: http://groups.google.ca/groups?hl=enlr=group=gnu.bash Or a good howto: http://docsrv.sco.com:8457/en/AdvBashHowto/ --Russ On 12 Mar 2005 19:11:15 -0800, [EMAIL PROTECTED] [EMAIL PROTECTED]

Re: CVS and NetBeans

2005-03-15 Thread Russ Sherk
http://www.google.com/search?sourceid=mozclientie=utf-8oe=utf-8q=cvs+and+NetBeans First, fifth and ninth. --Russ On Tue, 15 Mar 2005 09:43:29 -0300 (ART), Gleidson Sá Barreto [EMAIL PROTECTED] wrote: I´d like work with cvs and NetBeans, but i dont know do it. So i need one manual about this.

Re: Odd typo in update message?

2005-03-15 Thread Russ Sherk
This is a (possibly old) convention for quoting on Unix + variants. It is not a typo (neither is it a grave accent as they appear over a letter -- usually it's called a `backtick'). It diferentiates between a starting and ending `quote'. I havn't tested for all commands but most of cvs's error

Re: rolling back and importing

2005-03-16 Thread Russ Sherk
Alternately, if the number of files is reasonably small, you can: - check out _only_ the erroneously committed files to a sandbox (one at a time by rcs version #). - tag them as 'BAD' - check out the last known good versions of these files - tag these as 'GOOD' - Create a new sandbox 'cvs co -jBAD

Re: delete an from local CVS/Entries file

2005-03-29 Thread Russ Sherk
cvs tag -d MY_TAG Path/to/my.file [[Path/to/other.file]...] Cheers, --Russ On Tue, 29 Mar 2005 19:14:45 +0530, Antony Paul [EMAIL PROTECTED] wrote: Hi all, I need to delete a file from local checked out file(not from repository) and tag the rest of the file. If I just delete the file

Re: cvs deleting files

2005-03-29 Thread Russ Sherk
On 29 Mar 2005 06:13:46 -0800, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is it possible to use cvs to delete files from a directory that are not in the repository? ___ Info-cvs mailing list Info-cvs@gnu.org

Re: Checkout's over checkouts.

2005-03-29 Thread Russ Sherk
On Tue, 29 Mar 2005 18:08:15 +0100, Euan Guttridge [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jim.Hyslop Sent: 29 March 2005 17:59 To: info-cvs@gnu.org Subject: RE: Checkout's over checkouts. Euan Guttridge wrote:

Re: delete an from local CVS/Entries file

2005-03-30 Thread Russ Sherk
complicated to keep the list of files. Better I will write a script to delete the file from CVS/Entries file. On Tue, 29 Mar 2005 09:11:15 -0500, Russ Sherk [EMAIL PROTECTED] wrote: cvs tag -d MY_TAG Path/to/my.file [[Path/to/other.file]...] Cheers, --Russ On Tue, 29 Mar 2005 19:14

Re: FW: How to tell Pre commit script the exact File Name containing Spaces?

2005-04-01 Thread Russ Sherk
(sorry for double post Paris, forgot to copy the group) Not really a cvs question but if you put quotes around the $@, it will work. for i in $@ do echo $i done You can test this by creating a script with the above as contents. Run it with args: a b b a. Then remove the quotes from the $@ ant

Re: FW: FW: How to tell Pre commit script the exact File Name containing Spaces?

2005-04-02 Thread Russ Sherk
UseNewInfoFmtStrings=yes will not fix the problem I don't think. The problem is with how (ba)sh handles expansion of a list of arguments not how the arguments are passed to it. $@ is very different from [EMAIL PROTECTED] [EMAIL PROTECTED] b c d (or a b c\ d) sh expands $@ to: a, b, c, d but

Re: Is there a safe way to do this kind of offline CVS management?

2005-04-02 Thread Russ Sherk
Doug Lee [EMAIL PROTECTED] wrote: This process has worked fine except for the occasional issue with a file being renamed in the repo by something to the same name with different letter casing, my best solution to which has been a little hand-editing of CVS/Entries files in sandboxes (despite many

Re: Win32 cvs client - Unix cvs server

2005-04-08 Thread Russ Sherk
On Apr 8, 2005 10:29 AM, Sisyphus [EMAIL PROTECTED] wrote: - Original Message - From: Sisyphus [EMAIL PROTECTED] Finally ended up at http://sourceforge.net/docman/display_doc.php?docid=766group_id=1#download which provides a step-by-step guide on how to get it working with

Re: Win32 cvs client - Unix cvs server

2005-04-09 Thread Russ Sherk
On Apr 9, 2005 4:33 AM, Arno Schuring [EMAIL PROTECTED] wrote: set CVSRSH to something like this: C:\tools\Putty\plink.exe -ssh -pw mypassword The env var CVSRSH is the rsh command that cvs ext: is to run. Setting CVSRSH (to anything) makes no difference. If I run: try CVS_RSH

Re: cvs init

2005-04-09 Thread Russ Sherk
Hi Andy, Good to hear you are moving to a versioning system. Some questions to clarify what you are trying to do... On Apr 9, 2005 5:36 PM, Andy Pieters [EMAIL PROTECTED] wrote: Greetings fellow coders. I am on a production site and am facing the following situation product basic release

Re: Newbie Query: Command line option for checking out to local comp from cvs server

2005-04-11 Thread Russ Sherk
Balaji, This was covered recently in this group. Here is a link to the thread. http://groups-beta.google.com/group/gnu.cvs.help/browse_thread/thread/4c505fc5120b0fe7 Please direct all other questions about cvs on windows to: http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt or

Re: trouble with cvs add

2005-04-12 Thread Russ Sherk
To do a merge, you type something like: cvs co -rBRANCH_1_2 cvs up -jHEAD myNewFile myNewFile2 myNewFile3 [...] Then cvs should say something like adding new file blah... use cvs ci to commit changes. Carefully check that all files where brought over correctly. Then check them in. --Russ On

Re: Problems updating rep

2005-04-12 Thread Russ Sherk
On Apr 12, 2005 5:21 PM, Eduardo Mendes [EMAIL PROTECTED] wrote: Hello I have added some doc (word for windows) and xls (excel) files to a rep. What I did was: cvs add zzz.pdf xxx.doc yyy.xls cvs ci -m Adding doc and xls files cvs admin -kb zzz.pdf xxx.doc yyy.xls No problem so far,

Re: trouble with cvs add

2005-04-13 Thread Russ Sherk
Pierre, Why so complicated to merge a file from head to a branch? I just ran a little test and my recommended method works. Martin has some files that exist in HEAD but not in BRANCH_1_2. Since they exist in the repo, cvs says 'can't add this file because it exists'. Since it already exists,

Re: Severe speed problems with binary files

2005-04-13 Thread Russ Sherk
How many revisions of the example file are there? cvs speed may be affected adversly by a large number of revisions of a binary file. --Russ On 4/13/05, John Beranek [EMAIL PROTECTED] wrote: Larry Jones wrote: John Beranek writes: We use the CVS server via pserver, but generally the client

Re: Modules which depend on each other -- how to handle?

2005-04-14 Thread Russ Sherk
On 4/14/05, Jim.Hyslop [EMAIL PROTECTED] wrote: Matthias Kaeppler wrote: Hm, no answers so far, okay, let me tell you how I intend to handle it and you tell me if that's good or bad. Sorry, I don't know about others, but at this point I have to skim many of the messages. However, I

Re: CVS import for executables and binary files

2005-04-18 Thread Russ Sherk
On 4/18/05, Spiro Trikaliotis [EMAIL PROTECTED] wrote: Hello, * On Mon, Apr 18, 2005 at 10:26:58AM +0530 Balaji D wrote: When I import few object files and exeuctables, through cvs import command through command line, I dont get these files reflected in the cvs area. Can some one

Re: NEED HELP with CVS lock

2005-04-18 Thread Russ Sherk
Hi Anthony, Take a look in the actual repository (//srv1/stor3/cvsroot/test/main/) and look for cvs.lock and cvs.hostname.pid.lock. If the dates on this file are old (about the same date as the cvs crash), you can just remove the locks manually. Also, make sure you have write permissions in

Re: checking out multiple branches of a project

2005-04-21 Thread Russ Sherk
On 4/21/05, Jim.Hyslop [EMAIL PROTECTED] wrote: Chris Cheshire wrote: I have a project in source control called mylib (for example) that contains libraries used for my various programs. Currently I need to make some changes to a development branch, as well as some changes to the head. I

Re: checking out multiple branches of a project

2005-04-23 Thread Russ Sherk
On 4/21/05, Jim.Hyslop [EMAIL PROTECTED] wrote: Russ Sherk wrote: On 4/21/05, Jim.Hyslop [EMAIL PROTECTED] wrote: Sure, piece of cake. Check out [sic] the -d option to the checkout command. To be clear: [etc]. I was _trying_ to encourage Chris to study the manual so he'd be more

Re: Alias syntax for a module that has a space in its name

2005-04-23 Thread Russ Sherk
On 4/21/05, Jim.Hyslop [EMAIL PROTECTED] wrote: Stephen Carville wrote: Jim.Hyslop wrote: Tools should conform to the way people use them. Not the other way around. Automobiles never should have forced people to adapt to using a wheel when everyone already knew how to use reins.

Re: 'cvs status' returns error if I delete a directory in my local working copy

2005-04-23 Thread Russ Sherk
On 4/22/05, Todd Foster [EMAIL PROTECTED] wrote: We have a top-level script that does several cvs checkouts from multiple repositories to create a local working copy for the end-user (basically brings in source code from several projects in order to compile correctly). For discussion purposes,

Re: Hack to remove empty dir from CVS repository

2005-04-25 Thread Russ Sherk
Hold on there. DataProvider is a directory under $CVSROOT? This means that it is a module. Does this directory get checked out when you check out another module? (The way your question is posed, it appears that you are seeing DataProvider as a sub dir of other checked out modules.) --Russ On

Re: SSH error: end of file from server

2005-05-08 Thread Russ Sherk
On 5/8/05, Andrew Wood [EMAIL PROTECTED] wrote: Any idea why I cant access a repository to checkout a project remotely, but I can on the local machine. I'm trying to do it with CVS on Mac OS X which is installed by default, along with OpenSSH. I'm also trying it with TortoiseCVS on Windows,

Re: Problems with branching

2005-05-23 Thread Russ Sherk
On 5/22/05, Jim Hyslop [EMAIL PROTECTED] wrote: rakesh mailgroups wrote: Hi all, I have found branches that i have created in cvs are not showing for other users and vice versa. Does anyone know why this is? I have never heard of such a problem. What exactly do you mean by not

Fwd: $id automatically inserted in file

2005-05-25 Thread Russ Sherk
-- Forwarded message -- From: Russ Sherk [EMAIL PROTECTED] Date: May 25, 2005 8:18 AM Subject: Re: $id automatically inserted in file To: Klaus Hebsgaard [EMAIL PROTECTED] On 5/25/05, Klaus Hebsgaard [EMAIL PROTECTED] wrote: Hello I am using cvs for keeping some html files

Re: $id automatically inserted in file

2005-05-25 Thread Russ Sherk
On 5/25/05, Mike [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], Klaus Hebsgaard wrote: Hello I am using cvs for keeping some html files, in these html files i have strings like $id$. cvs sees this and think it is suppose to add it logging in here. However I don't want this

Re: $id automatically inserted in file

2005-05-25 Thread Russ Sherk
On 5/25/05, Klaus Hebsgaard [EMAIL PROTECTED] wrote: Russ Sherk [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Have a look at cvs admin command. Specifically the -k option. (-kto?) Sorry for not writing this from the beginning - I knew about this option, however i access

Re: $id automatically inserted in file

2005-05-25 Thread Russ Sherk
On 5/25/05, Spiro Trikaliotis [EMAIL PROTECTED] wrote: Hello, * On Wed, May 25, 2005 at 10:21:02AM -0400 Russ Sherk wrote: cvs admin is intended to be used on the server. What I meant is that some (if not all) cvs admin commands are intended to be used to make changes to the repository

Re: Retrieving dead files from the Attic

2005-05-25 Thread Russ Sherk
Did you commit the file to the Attic? i.e. cvs ci myRepoPath/Attic/myFile.txt Or did you commit to a branch but not to main trunk (or vice-a-versa)? If the second is the case, then you can just merge the file from the branch to the main trunk: cvs co myRepoPath/ cvs up -j branch_name

Re: question about WinCVS (was Info-cvs Digest, Vol 31, Issue 10)

2005-06-08 Thread Russ Sherk
Greets. On 6/8/05, Arthur Barrett [EMAIL PROTECTED] wrote: Santosh, This is not the correct group to ask questions about WinCVS. The WinCVS This may be the correct group if your CVS server is running regular cvs (say on a linux box). Please provide more info: - Is your cvs server running

Re: query

2005-06-16 Thread Russ Sherk
On 6/16/05, Jim Hyslop [EMAIL PROTECTED] wrote: Hridyesh Pant wrote: Hi All, Is there any way to find out how much liles added or removed in a file do you mean files or lines? between two dates. Yes there is a way. (FishEye generates charts/graphs of this I think.) But it is probably

Re: query

2005-06-17 Thread Russ Sherk
On 6/16/05, Jim Hyslop [EMAIL PROTECTED] wrote: Russ Sherk wrote: On 6/16/05, Jim Hyslop [EMAIL PROTECTED] wrote: I'm curious - what use could this information possibly be, anyway? Usually this information is used by managers to determine churn. Bigger churn (more files/lines changed

Re: Re: query

2005-06-18 Thread Russ Sherk
not be used as an absolute indicator of lines changed per file. Cheers, --Russ Thanks Hridyesh On Fri, 17 Jun 2005 Russ Sherk wrote : On 6/16/05, Jim Hyslop [EMAIL PROTECTED] wrote: Russ Sherk wrote: On 6/16/05, Jim Hyslop [EMAIL PROTECTED] wrote: I'm curious - what use

Re: Getting tag information without checkout

2005-06-27 Thread Russ Sherk
On 6/27/05, Aaron Jackson [EMAIL PROTECTED] wrote: I'm trying to find out what files a tag owns cvs rlog -NS -r tag name module name | grep RCS file: | sed some sed script to get the file name and then inturn find out what tags a specific file belongs to. cvs rlog module name/file name | sed

CVS log between revs - filter extra info

2005-06-30 Thread Russ Sherk
Hi, I have been trying to get a cvs log between revs that only shows log messages for what has changed between revs. I've tried cvs log -rrev1:rev2 and -rrev1::rev2. Both of which either show way too much info or not enough. Where extra data is logs for files that have not changed. And not

Re: Don't commit during tagging

2005-07-03 Thread Russ Sherk
Greets, On 7/3/05, S I [EMAIL PROTECTED] wrote: Needn't worry about that. CVS tags the matching copies of the revisions in your working folder only. In other words, if you just did a checkout of -foo.bar (rev 1.6) and a developer shortly after, committed a new rev 1.7, your build and

Re: merging branch to HEAD when branch contains partly trunk changes already

2005-07-08 Thread Russ Sherk
Herald, On 8 Jul 2005 03:46:00 -0700, HK [EMAIL PROTECTED] wrote: Suppose the following situation. +-1.25.2 .. -- 1.25.2.2 -- 1.25.2.5 | ^ | |merge in 1.25 -- ... -- 1.27 -- ... -- 1.31 At 1.25 I created a branch. Later I merged the changes between 1.25

Re: error while installing CVS 1.11.20

2005-07-08 Thread Russ Sherk
On 7/8/05, ravish agarwal [EMAIL PROTECTED] wrote: I installed gcc and biasom Now, I am getting following error message: usr/ccs/bin/ld: Warning At least one PA 2.0 object file add.o was detected. The linked output may not run on a PA 1.x system /usr/ccs/bin/ld: Unsatisfied sysmbols:

Re: problem with the Tortoise ssh -pw password option

2005-07-14 Thread Russ Sherk
On 13 Jul 2005 19:00:09 -0700, Ed [EMAIL PROTECTED] wrote: I know this is an insecure method, but I'm going crazy typing in my password every 2 seconds, and the pageant, puttygen, option keeps referring to Sourceforge example. The other examples I found didn't work for setting up public keys