RE: RCS issue with Windows username with spaces in it

Phil Hurrell <[email protected]>
Newsgroups gmane.comp.version-control.rcs.bugs
Message-ID <9D58E9D54212B54495F57C27D48D48856619DACC19@excprdmbxw002.optus.com.au>
Excellent - Setting LOGNAME did the trick
(export LOGNAME=xxxxxx from cygwin shell)

Thanks !


Phil Hurrell
Portfolio Manager - Configuration Maintenance & Utopia
Configuration Management

t:   +61 2 808 28127
m: +61 (0) 415 383 220
e:  [email protected]
a: 1 Lyonpark Road, Macquarie Park NSW 2113


-----Original Message-----
From: Roger Pilkey [mailto:[email protected]]
Sent: Wednesday, 16 April 2008 9:13 AM
To: Phil Hurrell
Cc: [email protected]
Subject: Re: RCS issue with Windows username with spaces in it

On Windows, RCS tries to use the LOGNAME, then USERNAME environment variables as the 'author' , if you can temporarily change one of them with the SET command, then it will work.

Rog

On Tue, Apr 15, 2008 at 6:36 PM, Phil Hurrell <[email protected]<mailto:[email protected]>> wrote:
As per my original mail - I found this out already - however co.exe suffers the same issue and has no -w option,

Phil Hurrell
Portfolio Manager - Utopia
Configuration Management
t: +61 2 934 28127
m: +61 (0) 415 383 220
My new details from 29/06/2007
t: +61 2 808 28127
visit us at 1 Lyonpark Road, Macquarie Park NSW 2113



-----Original Message-----
From: Aaron S. Hawley [mailto:[email protected]<mailto:[email protected]>]
Sent: Tuesday, 15 April 2008 10:30 PM
To: Phil Hurrell
Cc: [email protected]<mailto:[email protected]>
Subject: Re: RCS issue with Windows username with spaces in it

There's a -w command-line option for the `ci` command  that allows you
to "lie" about the value for author.

See the man page for more information

http://www.delorie.com/gnu/docs/rcs/ci.1.html

2008/4/14 Phil Hurrell <[email protected]<mailto:[email protected]>>:
>
>
>
>
> When utilising the pre-compiled RCS for Windows NT (rcs 57 from
> http://www.cs.purdue.edu/homes/trinkle/RCS/)
>
>
>
> There is a problem if your NT Username contains a space
>
> For example my login is "Phil Hurrell" (without the speech marks)
>
>
>
> When you attempt to check in a file, the RCS command fails as it appears to
> not recognise username with spaces.
>
>
>
> $ ci hello.world
>
> hello.world,v  <--  hello.world
>
> ci: invalid identifier `Phil'
>
> ci aborted
>
>
>
> You can force ci by using -wlogin  option:
>
>             ci -wphil hello.world
>
> hello.world,v  <--  hello.world
>
> enter description, terminated with single '.' or end of file:
>
> NOTE: This is NOT the log message!
>
> >> Hello world
>
> >> .
>
> initial revision: 1.1
>
> done
>
>
>
>  but this is not a solution as when you come to check out co -l also suffers
> from same problem
>
>
>
> co -l hello.world
>
> hello.world,v  -->  hello.world
>
> co: invalid identifier `Phil'
>
> co aborted
>
>
>
>
>
> Is there any workaround or planned solution for this?  (I'm in large company
> and cannot change the login credentials!)
>
>
>
> Thanks for any help !
>
>
> Phil Hurrell
>  Portfolio Manager - Configuration Maintenance & Utopia
>  Configuration Management
>
> t:   +61 2 808 28127
>  m: +61 (0) 415 383 220
>  e:  [email protected]<mailto:[email protected]>
>  a: 1 Lyonpark Road, Macquarie Park NSW 2113
>
>
>
>
> _______________________________________________
>  bug-rcs mailing list
>  [email protected]<mailto:[email protected]>
>  http://lists.gnu.org/mailman/listinfo/bug-rcs
>
>



--
Modern man suffers from a kind of poverty of the spirit which
stands in glaring contrast to his scientific and technological
abundance. We've learned to fly the air like birds, we've learned
to swim the seas as fish, yet we haven't learned to walk the
earth as brothers and sisters. -- Dr. Martin King


_______________________________________________
bug-rcs mailing list
[email protected]<mailto:[email protected]>
http://lists.gnu.org/mailman/listinfo/bug-rcs



--
Roger Pilkey
[email protected]<mailto:[email protected]>

_______________________________________________
bug-rcs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-rcs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.