Need shell script to check out

2004-11-01 Thread Antony Paul
Hi all,
   I need a shell script to check out the files using a shell script
which contains multiple files from a remote server. I need different
versions for each file. There are no tags. The problem is I need to
retype the password for each file. I want the script to manage the
typing of password.
   A sample file is shown below

cvs checkout -r '1.7' 'index.jspl'
cvs checkout -r '1.3' 'Hello.jsp'
cvs checkout -r '1.7' 'Customer.jsp'

rgds

Antony Paul


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: Need shell script to check out

2004-11-01 Thread Spiro Trikaliotis
Hello,

* On Mon, Nov 01, 2004 at 01:53:36PM +0530 Antony Paul wrote:

 I need different versions for each file. There are no tags.

Congratulation for this task. (Just kidding)

I would suggest not to check the files out this way, but to tag them,
one by one, with a unique, but the same tag TAG. This way, you could use
the same set of files laters, just specifying a cvs co -r TAG.

Do you think you will not need this again in the future? Well, it seems
you (or someone else) thought this way in the first place, too. Now, you
see how true this assumption was (or not).


 The problem is I need to retype the password for each file. I want the
 script to manage the typing of password.

You do not tell us which kind of access method you are using. If you're
using ssh, then you might want to look at ssh-agent and ssh-add, which
does exactly what you want to achieve.

HTH,
   Spiro.

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


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: Need shell script to check out

2004-11-01 Thread Antony Paul
I cant tag it becuase I have no control over the repository. I
suggested this to my Configuration manager but it was not accepted.
I forgot to tell that I am using SSH. No pserver access.

rgds
Antony Paul 


On Mon, 1 Nov 2004 09:34:43 +0100, Spiro Trikaliotis [EMAIL PROTECTED] wrote:
 Hello,
 
 * On Mon, Nov 01, 2004 at 01:53:36PM +0530 Antony Paul wrote:
 
  I need different versions for each file. There are no tags.
 
 Congratulation for this task. (Just kidding)
 
 I would suggest not to check the files out this way, but to tag them,
 one by one, with a unique, but the same tag TAG. This way, you could use
 the same set of files laters, just specifying a cvs co -r TAG.
 
 Do you think you will not need this again in the future? Well, it seems
 you (or someone else) thought this way in the first place, too. Now, you
 see how true this assumption was (or not).
 
 
  The problem is I need to retype the password for each file. I want the
  script to manage the typing of password.
 
 You do not tell us which kind of access method you are using. If you're
 using ssh, then you might want to look at ssh-agent and ssh-add, which
 does exactly what you want to achieve.
 
 HTH,
   Spiro.
 
 --
 Spiro R. Trikaliotis
 http://www.trikaliotis.net/
 http://www.viceteam.org/
 
 ___
 Info-cvs mailing list
 [EMAIL PROTECTED]
 http://lists.gnu.org/mailman/listinfo/info-cvs



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: Need shell script to check out

2004-11-01 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Antony Paul [EMAIL PROTECTED] writes:

 I cant tag it becuase I have no control over the repository. 

If you have write access, you can tag it unless the admin is stopping
you with a taginfo script.

 I suggested this to my Configuration manager but it was not accepted.

Suggest that he is foolish as tags are cheap and waste a lot less time
than obstructionist foolishness, or let him solve the problem for you.

 I forgot to tell that I am using SSH. No pserver access.

Are you sending your login password? Or, are you able to use publickey
authentication? If publickey is available then:

  ssh-agent $SHELL
  ssh-add
  enter your pass phrase

should let you be able to do any of the checkouts you wish without
getting prompted for your password.

-- Mark
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFBhgC23x41pRYZE/gRArCaAKCm0lGSJ3KTKucILKxH1csnppjKCACfckI9
uSGn+4lAt6cncuXBgYYpVFo=
=obAq
-END PGP SIGNATURE-


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: Need shell script to check out

2004-11-01 Thread Antony Paul
I have no idea on public key and if it requires modifiying the remote
server I can't do this way. I have to type in password when it is
asked.

rgds
Antony Paul


On Mon, 01 Nov 2004 01:24:06 -0800, Mark D. Baushke [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Antony Paul [EMAIL PROTECTED] writes:
 
  I cant tag it becuase I have no control over the repository.
 
 If you have write access, you can tag it unless the admin is stopping
 you with a taginfo script.
 
  I suggested this to my Configuration manager but it was not accepted.
 
 Suggest that he is foolish as tags are cheap and waste a lot less time
 than obstructionist foolishness, or let him solve the problem for you.
 
  I forgot to tell that I am using SSH. No pserver access.
 
 Are you sending your login password? Or, are you able to use publickey
 authentication? If publickey is available then:
 
  ssh-agent $SHELL
  ssh-add
  enter your pass phrase
 
 should let you be able to do any of the checkouts you wish without
 getting prompted for your password.
 
-- Mark
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.3 (FreeBSD)
 
 iD8DBQFBhgC23x41pRYZE/gRArCaAKCm0lGSJ3KTKucILKxH1csnppjKCACfckI9
 uSGn+4lAt6cncuXBgYYpVFo=
 =obAq
 -END PGP SIGNATURE-



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: Changing back from daylight saving time

2004-11-01 Thread Arthur Barrett
Andreas,

This problem and its resolution is described here:
http://devguy.com/fp/cfgmgmt/cvs/#DST

In short you are using an extremely old version of WinCVS and an even older
CVSNT.  You need newer versions of both.

Regards,


Arthur Barrett

Andreas [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 My Win XP box (running WinCVS 1.2) after auto switch back from daylight
 saving time suddenly shows all files in all projects as dirty. Of course I
 could simply run update on all files but - there must be another way???

 Any ideas?




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


why does HEAD behave as a tag rather than as a branch?

2004-11-01 Thread Tyler
It is confusing to the users that they can't just do cvs up -r $BRANCH
all the time. It also forces a lot of scripts into clumsy workarounds
(if $tag ==  then $tag == HEAD).

Is there a way to fix this?

tyler


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: Sudden problem connecting to server

2004-11-01 Thread Paul Charna
Solved it.  It was a product call Internet Download Manager that had 
messed up the IP stack.  Removing that product solved the problem. 


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: why does HEAD behave as a tag rather than as a branch?

2004-11-01 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tyler [EMAIL PROTECTED] writes:

 It is confusing to the users that they can't just do cvs up -r $BRANCH
 all the time. It also forces a lot of scripts into clumsy workarounds
 (if $tag ==  then $tag == HEAD).
 
 Is there a way to fix this?

You could use tag=-r$BRANCH vs tag= or tag=-r$BRANCH vs tag=-A

In the longer term, it might be desirable to move to the .trunk +
.origin patch...


http://web.archive.org/web/20011004170734/http://www.geocities.com/dotslashstar/branch_patch.html

as referenced here:

  http://lists.gnu.org/archive/html/info-cvs/2001-09/msg00639.html

Sadly, I have not been able to find this patch and I don't have time to
write it myself.

-- Mark
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFBhrGh3x41pRYZE/gRAuFfAKDH0JS4GQdvZn4QKsV+5jZR06WHbwCaA11U
YuFk7Ag8Yf3zMplShcySL5A=
=QvTZ
-END PGP SIGNATURE-


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: Removing subdirectory in checkout module

2004-11-01 Thread Robin Rosenberg
Andreas wrote:

 Sorry, kind of a silly question: I wanted to get rid of an entire
 subdirectory in a module. So following the philosophy I just deleted it in
 the working folder - alas, I could not find a way to remove it from WinCVS
 display. Did I do anything wrong?

Remove the directory from CVS/Entries also. The next time you do a cvs
update -d , the directory will reappear.

-- robin

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: why does HEAD behave as a tag rather than as a branch?

2004-11-01 Thread Todd Denniston
Mark D. Baushke wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Tyler [EMAIL PROTECTED] writes:
 
  It is confusing to the users that they can't just do cvs up -r $BRANCH
  all the time. It also forces a lot of scripts into clumsy workarounds
  (if $tag ==  then $tag == HEAD).
 
  Is there a way to fix this?
 
 You could use tag=-r$BRANCH vs tag= or tag=-r$BRANCH vs tag=-A
 
 In the longer term, it might be desirable to move to the .trunk +
 .origin patch...
 
http://web.archive.org/web/20011004170734/http://www.geocities.com/dotslashstar/branch_patch.html
 
 as referenced here:
 
   http://lists.gnu.org/archive/html/info-cvs/2001-09/msg00639.html
 
 Sadly, I have not been able to find this patch and I don't have time to
 write it myself.
I Located a copy of it (in my private archive of the CVS mailing list) at the
stage it was at 6-27-2000, but can only find a copy of it currently online in
google's cache (might want to grab it quick).

perhaps some google mining would turn up more, but unfortunately it was the
message after that where he started just indicating the kinds of changes and
that updates were 
on http://www.geocities.com/dotslashstar/branch_patch.html;, so even my
private archive does not contain more.

.trunk patch update 6-27-2000
http://64.233.161.104/search?q=cache:XHlGQc4yGhsJ:www.geocrawler.com/archives/3/382/2000/6/50/3949445/+Stephen.Cameron+05:56:00hl=en

good luck

-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


feature-rel / stable-rel. versioning of CVS

2004-11-01 Thread Gurpreet Singh (SCM)
Hi,

I need to have more info on  feature-rel / stable-rel. versions of CVS
related to the differences / features in it.
Is installing the CVS feature-rel version different to how we install the
stable-rel.
Can we install 1.12.x directly on existing cvs 1.11.x or need to make some
other changes too in the Linux sandbox.


Regards
Gurpreet S



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: feature-rel / stable-rel. versioning of CVS

2004-11-01 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gurpreet Singh (SCM) [EMAIL PROTECTED] writes:

 I need to have more info on  feature-rel / stable-rel. versions of CVS
 related to the differences / features in it.

Read https://ccvs.cvshome.org/source/browse/ccvs/NEWS?rev=HEAD

Note: There will be a number of new features in 1.12.10 when it is
released that many folks have requested. (I don't know when that will
happen.)

 Is installing the CVS feature-rel version different to how we install the
 stable-rel.

There has been no change in that regard.

 Can we install 1.12.x directly on existing cvs 1.11.x or need to make
 some other changes too in the Linux sandbox.

Yes. 

Note: You will probably want to upgrade to UseNewInfoFmtStrings=yes in
your CVSROOT/config file.

-- Mark
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFBhykT3x41pRYZE/gRAtMUAKCQWH8m3Llml9K64RIC368Wk5rq2wCeJHvo
+S4bbFAdzAC7Jsl7oEjL/MY=
=W5S+
-END PGP SIGNATURE-


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs