System username and :ext:/SSH

2003-11-16 Thread Stephen Biggs
Is there a way to duplicate the behavior of the CVSROOT/passwd actions when 
logging on with SSH?

Specifically, if there is a system username alias in the passwd file, this 
takes effect when logging on with a password.

Is there a way to get that system username when accessing the repository using 
SSH through :ext:?



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


Comparison of two repositories?

2003-09-10 Thread Stephen Biggs
Is there any easy way to do a full diff of two checked out trees from
different repositories?

The way I am doing it now is to export both trees (with -kk) so I don't
have the CVS directories and then do a command line diff between the two
local trees.

What I would like to do is to be able to act upon the actual CVS
sandboxes, but then the CVS directories and the info tags mess up the
compare.

Does anybody know of any simple scripts written for just this purpose?

Thanks for any help.

Steve Biggs


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


Howto?

2003-08-14 Thread Stephen Biggs
1. Rename a module in the repository? Is it even possible? That way, the
next time somebody checks out the entire module, the directory name will
have the change?

2. If I checkout a module from one repository, say from the Internet,
and then import it into a second repository, say my local one, is there
an easy and correct way to make sure that the local copy is also updated
by the changes in the remote repository?  That is, I want to do an
update from the remote repository in my local directory and then be able
to merge and commit those changes to my local repository?

Thanks for any help.





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


Re: Newbie: problems adding directory to repository

2003-08-14 Thread Stephen Biggs
Delete the CVS directory under MyDatabase in your local copy, re-add
it and re-add the files under it, commit, and you should be fine.  I
just had this same problem.

On Thu, 2003-08-14 at 16:55, Jesse Sheidlower wrote:
 
 I've recently started using CVS to help manage a programming
 project that I, and I alone, am working on, at least for
 now. I'm having a problem and couldn't find a solution in the
 docs or in the archives.
 
 My setup is that I have my CVS repository on my working server,
 and then a sandbox on my working server from which a build 
 script puts things where they're supposed to go. Then on my
 development server, I again have a sandbox and a build script.
 I've been working by making changes in the sandbox on the dev
 sever, and when they're ready, committing them to the repository,
 updating the working server's sandbox, and building it out.
 
 There was a point at which I was making a lot of changes to my
 dev sandbox, but didn't have access to the repository so
 couldn't commit anything. When I got back to it, I found that
 I couldn't get some things to match up.
 
 The basic problem is that I had taken a specific program, and
 directory, called Book.pm and Book/ and then generalized it
 and renamed them to MyDatabase.pm and MyDatabase/ . In my dev
 sandbox, I have this directory called MyDatabase/ and there
 are a bunch of programs underneath it that used to be in Book/ . 
 But I can't seem to get this directory onto the working
 server. When I go to the working sandbox and type cvs
 update, it doesn't create MyDirectory/ or anything underneath
 it; it's the same when I deleted the entire sandbox and did a
 cvs checkout from scratch.
 
 Yet in the development sandbox, it certainly thinks it's there--
 when I type cvs add MyDatabase/ or cvs add [any of the programs
 under MyDatabase/] I get messages like there is a version
 in MyDatabase already or SearchView.pm already exists, with
 version number 1.3.
 
 What do I need to do to get these files out of CVS and into
 the sandbox on the working server?
 
 Thanks very much. Sorry if I'm missing something obvious.
 
 Jesse Sheidlower
 [EMAIL PROTECTED]
 
 
 ___
 Info-cvs mailing list
 [EMAIL PROTECTED]
 http://mail.gnu.org/mailman/listinfo/info-cvs
 




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


Re: Command-line multi-line messages for commit

2003-06-08 Thread Stephen Biggs
On Wed, 2003-06-04 at 02:44, Eric Siegerman wrote:
 On Tue, Jun 03, 2003 at 12:46:42PM +0300, Stephen Biggs wrote:
  I got it to work using another way which actually works better if you
  don't want to be so interactive (one press of the enter key instead of
  3):
  
  $ cvs ci -m line 1'$\n'line 2'$\n'line 3
 
 Yikes!  Non-interactive it may be, but pretty painful!  How about
 writing a wrapper shell script?  You would invoke it as:
cvs-wrapper -m 'message\ncontaining\nmultiple lines' other-args
 
 It would have to do something like:
   - extract (and remove) the -m and its value from the command line
   - turn the \ns into newlines (and any other transformations
 you like)
   - export CVSEDITOR=`which cat` into the environment
   - go:
   echo $transformed_log_message | cvs $other_args
 
 --
--snip signature--

Actually, your method sounds to me much more painful because I have to
learn how to use sed to do this and run and test the wrapper script over
and over again until I debug it due to my limited expertise in coding
shell scripts, living with bogus messages in a junk repository until I
get it right.  My way is quicker and much simpler for me as long as I
remember to put the quotes right.

E.g., I actually meant to say:
cvs ci -m line 1$'\n'line 2$'\n'line 3
... note the change in the position of the single quote and the $.



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


Command-line multi-line messages for commit

2003-06-03 Thread Stephen Biggs
Greetings all,

How do I enter in multi-line log messages when I want to commit?

I tried using \n, \\n, ^L in the quoted text string for the -m
option but no go; all are on the same line with the quoted string in the
log message.  Running bash on Linux, Redhat 8.0.  I tried embedding for
bash using $'\n' but this whole string gets put into the log.

Basically how do I embed 0xa characters directly into the command line
for the commit command?  This might be more related to straight Linux
command line usage, and if this is off-topic, please excuse.  Any
assistance would be appreciated.




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


RE: Command-line multi-line messages for commit

2003-06-03 Thread Stephen Biggs
Thanks, all, for your replies.

I didn't try this:
$ cvs ci -m 'line 1
line 2
line 3'

I got it to work using another way which actually works better if you
don't want to be so interactive (one press of the enter key instead of
3):

$ cvs ci -m line 1'$\n'line 2'$\n'line 3


On Tue, 2003-06-03 at 11:02, Lemke, Michael IZ/HZA-IC1 wrote:
  -Original Message-
  From: Stephen Biggs [mailto:[EMAIL PROTECTED] 
  Sent: Sunday, June 01, 2003 11:12 AM
  To: [EMAIL PROTECTED]
  Subject: Command-line multi-line messages for commit
  
  
  Greetings all,
  
  How do I enter in multi-line log messages when I want to commit?
  
  I tried using \n, \\n, ^L in the quoted text string for the -m
  option but no go; all are on the same line with the quoted 
  string in the
  log message.  Running bash on Linux, Redhat 8.0.  I tried 
  embedding for
  bash using $'\n' but this whole string gets put into the log.
  
  Basically how do I embed 0xa characters directly into the command line
  for the commit command?  This might be more related to straight Linux
  command line usage, and if this is off-topic, please excuse.  Any
  assistance would be appreciated.
 
 Don't think so complicated.  Why not try the simplest of all:
 
 $ cvs ci -m 'line 1
 line 2
 line 3'
 $ 
 
 Needs a Bourne Shell derivative.  I didn't try it but unless
 cvs plays some internal tricks it should work.
 
 Michael
 



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