Rolling back to previous CVS date
cvs -d :pserver:mythtv@cvs.mythtv.org:/var/lib/mythcvs login
cvs -z3 -d :pserver:mythtv@cvs.mythtv.org:/var/lib/mythcvs update -D "2005-04-22" mythtv
If subdirs are empty:
cvs -z3 -d :pserver:mythtv@cvs.mythtv.org:/var/lib/mythcvs checkout -D "2005-04-22" mythtv
View revision (total history):
>> cvs log hello.c
Proving I'm rolled back to a previous date:
Get current:
# cvs -z3 -d :pserver:mythtv@cvs.mythtv.org:/var/lib/mythcvs update -D now mythtv
# Get status of a file:
[root@myth libmythtv]# cvs -Q status blend.c
===================
File: blend.c Status: Up-to-date
Working revision: 1.2
Repository revision: 1.2 /var/lib/mythcvs/mythtv/libs/libmythtv/blend
.c,v
Sticky Date: 2005.05.11.06.51.55
Rollback:
# cvs -z3 -d :pserver:mythtv@cvs.mythtv.org:/var/lib/mythcvs update -D 04/22/05 mythtv
View status again:
[root@myth libmythtv]# cvs -Q status blend.c
====================
File: blend.c Status: Up-to-date
Working revision: 1.1
Repository revision: 1.1 /var/lib/mythcvs/mythtv/libs/libmythtv/blend
.c,v
Sticky Date: 2005.04.22.07.00.00
[This is the rev that was active on 4/22/05 ]
0 Comments:
Post a Comment
<< Home