info-cvs
[Top][All Lists]
Advanced

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

have finished reading http://cvsbook.red-bean.com/cvsbook.html however,


From: Alex Liberman
Subject: have finished reading http://cvsbook.red-bean.com/cvsbook.html however, ..
Date: Mon, 30 May 2005 19:00:55 -0700
User-agent: Mutt/1.4.1i

My reading comprehension of it must be < 100%, because
when I tried the following,

1. edit hello.c, add some experimental stuff

2. do a cvs commit of above, it tells me version is now 1.2 from 1.1

3. I revert back to non-experimental version of hello.c like so,
cvs update -r 1.1 hello.c

4. put some normal non-experimental stuff into hello.c

5. *attempt* to check in, expecting to get 1.3 of hello.c:
$ cvs ci -m"sendersname" hello.c

Instead I get,

cvs server: sticky tag `1.2' <--may have said 1.1 I'm not sure
 for file `hello.c' is not a branch
 cvs [server aborted]: correct above errors first!

when I try to make it happy by removing sticky tag like so,
cvs update -A hello.c

it messes up my working copy of hello.c! Lucky I made a backup of it,
so I was able to
cp hello.c.orig hello.c
and
cvs ci -m"blah" hello.c

Which it then accepted.

Question is, what would have been the "correct" way to handle the
above situation?

Thx -Alex




reply via email to

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