Computer And Technologies

Computer And Technologies: CVS History of the project

Tuesday, 21 July 2009

CVS History of the project

Some one asked me this Question.. which is really good one...

when I run this command:

"cvs history ProccessView"
the result looks like is:

O 2009-07-19 17:04 +0000 KalliMan
=.= localhost/*
O 2009-07-11 22:00 +0000 KalliMan ./ApiDialogsClient =./
ApiDialogsClient= localhost/./ApiDialogsClient
O 2009-07-11 15:31 +0000 KalliMan ./KUtilities =./
KUtilities= localhost/./KUtilities
O 2009-07-11 15:36 +0000 KalliMan ./KUtilities/Bin =./
KUtilities/Bin= localhost/./KUtilities/Bin
O 2009-07-11 21:51 +0000 KalliMan ./test =./
test= localhost/./test
.....

Can somebody tells me what the ... is the meaning of these columns???
Answer of the above Question:--

Hi ,


O 2009-07-19 17:04 +0000 KalliMan =.= localhost/*

From above :

2009-07-19 (2nd column) is

17:04 (3rd column ) is modules updated time on your server.

+0000 (4th Column) is Leading value

KalliMan (5th column) is User name

6th column Module or project name

7th column file name

8th column :--- server/ module position either <remote> i,e 192.168.x.x or i,e 127.0.0.1


history output
---------------------

`history' prints a line for each selected history record. Each line
begins with a character indicating the record type (*note history
options::), followed by a timestamp (in the format `YYYY-MM-DD HH:MM
ZZZZ'), then the name of the user who performed the action. The
remainder of the line depends on the record type:

`T'
The relative path to the directory in the repository; then the
description of the tag in the format `[NAME:OPT]' where NAME is
the tag name and OPT is `D' for `tag -d', the specified revision
for `tag -r', the specified date for `tag -D', or `A' for a plain
`tag'.

`F', `E', `O'
The tag/revision/date checked out, if any, enclosed in `[' and `]';
the relative path to the directory in the repository, if any; the
associated module name, enclosed in `=' and `='; then the absolute
path to the local working directory or `'.

`W', `U', `P', `C', `G', `M', `A', `R'
The revision checked out; the file name; the relative path to the
directory in the repository, if any; the associated module name,
enclosed in `=' and `='; then the absolute path to the local
working directory or `'.


`~' at the beginning of a working directory means the user's home
directory. `*' at the end of a repository or working directory means
the associated module name.

A.13.3 history examples
-----------------------

$ cvs history -e

A 2009-07-21 20:21 +0000 bach 1.1 tc.1 yoyodyne/tc/man == ~/tc/man
M 2009-07-21 20:22 +0000 bach 1.2 backend.c yoyodyne/tc == ~/tc
M 2009-07-21 20:27 +0000 bach 1.5 frontend.c yoyodyne/tc == ~/tc
T 2009-07-21 20:27 +0000 bach yoyodyne/tc [rel_0_3:A]
O 2009-07-21 20:28 +0000 cedar [rel_0_1] yoyodyne/* =tc= /*
C 2009-07-21 20:29 +0000 cedar 1.3 driver.c yoyodyne/tc ==
U 2009-07-21 20:29 +0000 cedar 1.5 frontend.c yoyodyne/tc ==
F 2009-07-21 20:31 +0000 bach =yoyodyne= ~/*
E 2009-07-21 20:33 +0000 bach [rel_0_3] yoyodyne/tc =.= /foo/*
O 2009-07-21 20:37 +0000 bach yoyodyne/* =tc= ~/*
R 2009-07-21 20:37 +0000 bach 1.2 test2.t yoyodyne/tc/testing == ~/tc/testing
E 2009-07-21 20:38 +0000 bach [2009.07.21.20.38.48] yoyodyne/* =tc= /foo

Have a look my processview :- (remote server)

root@eOdissa-desktop:/home/amaresh/Vecima/Vcom_Task/wingmax# cvs history ProccessView
Password:
O 2009-07-13 10:58 +0000 amareshcd kernel-2.6 =kernel-2.6= /*
O 2009-07-13 12:54 +0000 amareshcd libadapt =libadapt= /*
O 2009-07-13 12:54 +0000 amareshcd mac_01_alpha =mac_01_alpha= /*
O 2009-07-13 10:12 +0000 amareshcd othersrc =othersrc= /*
O 2009-07-13 12:54 +0000 amareshcd wingmax/* =src= /*
O 2009-07-13 10:58 +0000 amareshcd wavesat =wavesat= /*
O 2009-07-13 10:09 +0000 amareshcd wingmax =wingmax= <remote>/*

Have a look this command “ls -ltr “ you will get good idea.

wingmax# ls -ltr
total 148
-rwxr-xr-x 1 root root 2035 2007-06-13 22:51 postcheckout.sh
-rw-r--r-- 1 root root 1911 2008-01-09 23:03 README.txt
-rwxr-x--- 1 root root 3059 2008-11-26 04:44 common.mk
-rwxr-x--- 1 root root 35485 2008-12-18 13:50 Makefile
-rw-r--r-- 1 root root 8 2009-07-13 10:16 VERSION
drwxr-xr-x 5 root root 4096 2009-07-13 15:39 doc

Why are you giving "cvs history ProccessView" ?

just give "cvs history" you will get same result.

if you will give " cvs history " then you will not get different o/p as bellow:--

cvs history common.mk
Password:
O 2009-07-13 10:58 +0000 amareshcd kernel-2.6 =kernel-2.6= /*
O 2009-07-13 12:54 +0000 amareshcd libadapt =libadapt= /*
O 2009-07-13 12:54 +0000 amareshcd mac_01_alpha =mac_01_alpha= /*
O 2009-07-13 10:12 +0000 amareshcd othersrc =othersrc= /*
O 2009-07-13 12:54 +0000 amareshcd wingmax/* =src= /*
O 2009-07-13 10:58 +0000 amareshcd wavesat =wavesat= /*
O 2009-07-13 10:09 +0000 amareshcd wingmax =wingmax= /*


Thanks,

-Amaresh


No comments:

Post a Comment