info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lock in the Vendor Branch give me error


From: Jorge Godoy
Subject: Re: Lock in the Vendor Branch give me error
Date: Thu, 29 Apr 2004 14:13:47 -0300
User-agent: KMail/1.6.2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 29 April 2004 13:20, Diego Ribeiro de Andrade wrote:
> Ambient
> System: Conectiva Linux 8
> Cvs: CVS Server 1.11.5
> clients WinCVS 1.2
>
> hi,
>
> Im geting a problem, but searching the messages history I dont
> found nothing that answer the questions.
>
> Working in a project that has just imported for the repository.
> After a checkout I issue the command  "cvs admin -l
> CVS20030310.xls" and It returns me a 0 state.
>
> I set the file for edit with cvs edit command, but when I modify
> the file and try the commit I receive the error...
>
> "multiple revisions locked by d310352; please specify one"
> "cvs server: could not check in CVS20030310.xls"
> "cvs server: could not"
> "unlock /dtp/adm_dados/planilha_cvs/CVS20030310.xls,v"


This is reproducible on another Linux machine, with CVS 1.11.15.

address@hidden data]$ mkdir teste2
address@hidden data]$ cd teste2/
address@hidden teste2]$ touch a
address@hidden teste2]$ touch b
address@hidden teste2]$ touch c
address@hidden teste2]$ cvs -d :ext:address@hidden:/home/cvs import 
clientes/data/teste2 godoy start
address@hidden's password:
N clientes/data/teste2/a
N clientes/data/teste2/b
N clientes/data/teste2/c

No conflicts created by this import

Sending mail to address@hidden
address@hidden teste2]$ cd ..
address@hidden data]$ rm -rf teste2/
address@hidden data]$ cvs -d :ext:address@hidden:/home/cvs co 
clientes/data/teste2
address@hidden's password:
cvs checkout: Updating clientes/data/teste2
U clientes/data/teste2/a
U clientes/data/teste2/b
U clientes/data/teste2/c
address@hidden data]$ cd clientes/data/teste2/
address@hidden teste2]$ ls
CVS  a  b  c
address@hidden teste2]$ cvs admin -l a
address@hidden's password:
RCS file: /home/cvs/clientes/data/teste2/a,v
1.1.1.1 locked
done
address@hidden teste2]$ cvs log a
address@hidden's password:

RCS file: /home/cvs/clientes/data/teste2/a,v
Working file: a
head: 1.1
branch: 1.1.1
locks: strict
        godoy: 1.1.1.1
access list:
symbolic names:
        start: 1.1.1.1
        godoy: 1.1.1
keyword substitution: kv
total revisions: 2;     selected revisions: 2
description:
- ----------------------------
revision 1.1
date: 2004/04/29 16:54:00;  author: godoy;  state: Exp;
branches:  1.1.1;
Initial revision
- ----------------------------
revision 1.1.1.1        locked by: godoy;
date: 2004/04/29 16:54:00;  author: godoy;  state: Exp;  lines: +0 -0
Teste import/lock
=============================================================================
address@hidden teste2]$ echo "a" > a
address@hidden teste2]$ cvs commit
cvs commit: Examining .
address@hidden's password:
Checking in a;
/home/cvs/clientes/data/teste2/a,v  <--  a
cvs commit: /home/cvs/clientes/data/teste2/a,v: multiple revisions 
locked by godoy; please specify one
cvs commit: could not check in a
cvs commit: could not unlock /home/cvs/clientes/data/teste2/a,v
cvs commit: saving log message in /home/godoy/tmp/cvsJ9zRQL
address@hidden teste2]$ cvs edit a
address@hidden's password:
address@hidden teste2]$ cat a
a
address@hidden teste2]$ cvs commit a
address@hidden's password:
Checking in a;
/home/cvs/clientes/data/teste2/a,v  <--  a
cvs commit: /home/cvs/clientes/data/teste2/a,v: multiple revisions 
locked by godoy; please specify one
cvs commit: could not check in a
cvs commit: could not unlock /home/cvs/clientes/data/teste2/a,v
cvs commit: saving log message in /home/godoy/tmp/cvsm3UvUk
address@hidden teste2]$ cvs log a
address@hidden's password:

RCS file: /home/cvs/clientes/data/teste2/a,v
Working file: a
head: 1.1
branch: 1.1.1
locks: strict
        godoy: 1.1
        godoy: 1.1.1.1
access list:
symbolic names:
        start: 1.1.1.1
        godoy: 1.1.1
keyword substitution: kv
total revisions: 2;     selected revisions: 2
description:
- ----------------------------
revision 1.1    locked by: godoy;
date: 2004/04/29 16:54:00;  author: godoy;  state: Exp;
branches:  1.1.1;
Initial revision
- ----------------------------
revision 1.1.1.1        locked by: godoy;
date: 2004/04/29 16:54:00;  author: godoy;  state: Exp;  lines: +0 -0
Teste import/lock
=============================================================================
address@hidden teste2]$


Please, note how the log shows different results each time: before and 
after the error happens.


On the other hand, without locking:

address@hidden teste2]$ cvs log b
address@hidden's password:

RCS file: /home/cvs/clientes/data/teste2/b,v
Working file: b
head: 1.1
branch: 1.1.1
locks: strict
access list:
symbolic names:
        start: 1.1.1.1
        godoy: 1.1.1
keyword substitution: kv
total revisions: 2;     selected revisions: 2
description:
- ----------------------------
revision 1.1
date: 2004/04/29 16:54:00;  author: godoy;  state: Exp;
branches:  1.1.1;
Initial revision
- ----------------------------
revision 1.1.1.1
date: 2004/04/29 16:54:00;  author: godoy;  state: Exp;  lines: +0 -0
Teste import/lock
=============================================================================
address@hidden teste2]$ cvs edit b
address@hidden's password:
address@hidden teste2]$ cvs log b
address@hidden's password:
Permission denied, please try again.
address@hidden's password:

RCS file: /home/cvs/clientes/data/teste2/b,v
Working file: b
head: 1.1
branch: 1.1.1
locks: strict
access list:
symbolic names:
        start: 1.1.1.1
        godoy: 1.1.1
keyword substitution: kv
total revisions: 2;     selected revisions: 2
description:
- ----------------------------
revision 1.1
date: 2004/04/29 16:54:00;  author: godoy;  state: Exp;
branches:  1.1.1;
Initial revision
- ----------------------------
revision 1.1.1.1
date: 2004/04/29 16:54:00;  author: godoy;  state: Exp;  lines: +0 -0
Teste import/lock
=============================================================================
address@hidden teste2]$ echo 'b' > b
address@hidden teste2]$ cvs commit b
address@hidden's password:
Checking in b;
/home/cvs/clientes/data/teste2/b,v  <--  b
new revision: 1.2; previous revision: 1.1
done
Collecting file lists...Collecting diffs...Done
Sending mail to address@hidden
address@hidden teste2]$


With that we can disregard GUI's fault. 


Any hints? Anyone interested on logs with CVS_CLIENT_LOG activated?
Is this a known issue?


TIA,
- -- 
Godoy.     <address@hidden>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAkTfNEzC+baSjBiURAstQAJ94+Lg4sfOU3UkSpHCnn7/+r0fdbgCeJGmm
+ve6dFpUNIqW5n7tx6nWLZA=
=yLTs
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]