Hi everybody,
first of all thank you Alavoor for all your work with
the CVS Howto and the
shell scripts. I think you did a remarkable job
.
Unfortunately I'm having massiv problems (or probably
I don't understand it.)
I followed exactly the tutorial in the Howto.
I tried it with one file
$HOME/src/perl/Herbert.pm
I imported it with
> cd $HOME/src/perl; cvs import src/perl me
Rev0_1
That went fine.
slist shows:
> -rw-rw-r-- 1 herbert
herbert 2323 Dec 27 02:35
src/perl/Herbert.pm
But when I want to edit it (sedit), it says:
~> sedit src/perl/Herbert.pm
> Error: File Herbert.pm Revision 1.1 already locked by
another developer !!
> Locking developers unix login name is =
herbert
> That developer should do scommit OR sunlock to release the
lock
Ok, that's myself. So I ignore that.
I edit it and want to do a scommit, but I get:
> You did not lock the file src/perl/Herbert.pm with
sedit!!
> Aborting the scommit ....
So I try an unlock:
~> sunlock src/perl/Herbert.pm
>
>
> ***************************************************
>
WARNING: sunlock will release lock and enable
other
> developers to
edit the file. It is
advisable
> to
save your changes with scommit command
>
***************************************************
>
> Are you sure you want to unlock the file <y/n>? [n]: y
...
> CAUTION: You may lose all the changes made to file!!
>
Are you sure? Do you really want to unlock the file <y/n>? [n]: y
>
> Done sunlock
No I can sedit, can I?
but it says:
~> sedit src/perl/Herbert.pm
>
> Error: The file is writable. Aborting sedit
......
> You must backup, scommit or
delete file and
> try sedit
again
>
Ok, I delete it and check it out.
~> rm src/perl/Herbert.pm*
> rm: remove
`src/perl/Herbert.pm'? y
> rm: remove write-protected file
`src/perl/Herbert.pm.sedit_bak'? y
~> sedit
src/perl/Herbert.pm
>
> Now getting the file Herbert.pm from CVS repository
...
>
> U src/perl/Herbert.pm
>
> Done sedit
~> scommit src/perl/Herbert.pm
>
You did not lock the file src/perl/Herbert.pm with sedit!!
> Aborting
the scommit ....
~>
Whatever I try from this point, it doesn't work.
I'm totaly confused.
Please tell me, what I'm doing wrong?
Thanks a lot,
-- Bernd