List Info

Thread: admin command "admin -m" produces error message




admin command "admin -m" produces error message
user name
2006-05-10 08:44:26
Hi experts,

we are using WinCvs Version 2.0.2.4 Build 4 (on Windows XP)
and CVSNT 
Version 2.5.02 Build 2088 (on Windows 2000)

today I tried to change a log message from an older
revision: 
I selected the module in the module browser, the file in the
file window, 
selected "Admin\Command Line ..." 
and typed in the follwing statement: cvs admin
-m1.2:"xxx here was the new 
text xxx" branchtest.cpp and selected the option
"Execute for current 
selection".

In the log window I got the following message:
cvs -d :pserver;username=user;hostname=hostname:/testarchiv
admin 
"-m1.2xx
here was the nex text xxx" branchtest.cpp --
branchtest.cpp (in 
directory I:\EntwTest\loeschtest\)
cvs admin: while processing more than one file:
cvs [admin aborted]: attempt to specify a numeric revision

***** CVS exited normally with code 1 *****
 
Can you tell me, what is wrong?

Thank you very much

Lucia Käser




[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor
--------------------~--> 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/z3wwlB/TM

------------------------------------------------------------
--------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.y
ahoo.com/group/cvsgui/

<*> To unsubscribe from this group, send an email to:
    cvsgui-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 



admin command "admin -m" produces error message
user name
2006-05-10 20:01:20
lucia.kaeserhelvetia.de wrote:
> today I tried to change a log message from an older
revision: 
> I selected the module in the module browser, the file
in the file window, 
> selected "Admin\Command Line ..." 
> and typed in the follwing statement: cvs admin
-m1.2:"xxx here was the new 
> text xxx" branchtest.cpp and selected the option
"Execute for current 
> selection".
> 
> In the log window I got the following message:
> cvs -d
:pserver;username=user;hostname=hostname:/testarchiv admin 
> "-m1.2xx
here was the nex text xxx" branchtest.cpp --
branchtest.cpp (in 
> directory I:\EntwTest\loeschtest\)
> cvs admin: while processing more than one file:
> cvs [admin aborted]: attempt to specify a numeric
revision
> 
> ***** CVS exited normally with code 1 *****
>  
> Can you tell me, what is wrong?

Hmm, not entirely sure. The command looks OK to me (except
that it is 
not necessary to specify the -d option: admin -m only works
inside a 
sandbox anyway). It just might be that the Admin|Command
Line dialog is 
having troubles with the quoted argument (and especially the
embedded 
spaces).

Have you tried changing the log message via the Graph
View's context 
menu, though? That's how I usually do it and it's still
working fine 
against both CVSNT 2.5.03 and GNU CVS 1.11.20 (and it is
about 10 times 
more convenient than doing it on any kind of commandline
just BTW).

Hope this helps.
-- 
Oliver
------
Now offering professional (Win)CVS(NT) consulting services!
Look at 
http://lucatec.net/wincvs
nt for details. In everybody's best interest, 
please do not post or CC technical questions to me in
private unless you 
are interested in commercial support. I will generally
forward my 
replies to such posts to the CVSGUI list without further
notice.
----	------------------
ICQ:	18777742	(http://wwp.icq.com/187777
42)
MSN:	ogiesenhotmail.com
Y! :	ogiesen


------------------------ Yahoo! Groups Sponsor
--------------------~--> 
Protect your PC from spy ware with award winning anti spy
technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/z3wwlB/TM

------------------------------------------------------------
--------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.y
ahoo.com/group/cvsgui/

<*> To unsubscribe from this group, send an email to:
    cvsgui-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 


admin command "admin -m" produces error message
user name
2006-05-10 20:17:51
Oliver Giesen's message received 5/10/2006 4:01 PM:
> lucia.kaeserhelvetia.de wrote:
>   
>> today I tried to change a log message from an older
revision: 
>> I selected the module in the module browser, the
file in the file window, 
>> selected "Admin\Command Line ..." 
>> and typed in the follwing statement: cvs admin
-m1.2:"xxx here was the new 
>> text xxx" branchtest.cpp and selected the
option "Execute for current 
>> selection".
>>
>> In the log window I got the following message:
>> cvs -d
:pserver;username=user;hostname=hostname:/testarchiv admin 
>> "-m1.2xx
here was the nex text xxx" branchtest.cpp --
branchtest.cpp (in 
>> directory I:\EntwTest\loeschtest\)
>> cvs admin: while processing more than one file:
>> cvs [admin aborted]: attempt to specify a numeric
revision
>>
>> ***** CVS exited normally with code 1 *****
>>  
>> Can you tell me, what is wrong?
>>     
>
> Hmm, not entirely sure. The command looks OK to me
(except that it is 
> not necessary to specify the -d option: admin -m only
works inside a 
> sandbox anyway). It just might be that the
Admin|Command Line dialog is 
> having troubles with the quoted argument (and
especially the embedded 
> spaces).
>
> Have you tried changing the log message via the Graph
View's context 
> menu, though? That's how I usually do it and it's
still working fine 
> against both CVSNT 2.5.03 and GNU CVS 1.11.20 (and it
is about 10 times 
> more convenient than doing it on any kind of
commandline just BTW).
>
> Hope this helps.
>   
I'm certainly no expert, but to my uninformed eye it seems
like the 
quotes are in the wrong place:

"-m1.2xx
here was the nex text xxx" 
should be
-m1.2:"xxx here was the nex text xxx" 




------------------------ Yahoo! Groups Sponsor
--------------------~--> 
Get to your groups with one click. Know instantly when new
email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/z3wwlB/TM

------------------------------------------------------------
--------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.y
ahoo.com/group/cvsgui/

<*> To unsubscribe from this group, send an email to:
    cvsgui-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 



Antwort: Re: admin command "admin -m" produces error message
user name
2006-05-15 11:23:52
thank you - I did not know that these commands exists - you
are right: 
they are much more comfortable than typing into a command
window...

with best regards

Lucia Käser



[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor
--------------------~--> 
You can search right from your browser? It's easy and it's
free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/z3wwlB/TM

------------------------------------------------------------
--------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.y
ahoo.com/group/cvsgui/

<*> To unsubscribe from this group, send an email to:
    cvsgui-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 



[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )