03-25-2008
Quote:
Originally Posted by
shahidbakshi
Plz let me know how it can be embedded in script.
I don't see what the problem is. You put those commands in the script? By its nature, CVS checks out the latest version of every file in the project / module. Do you mean you want exactly one file only?
If what you get is not what you want, you might need to elaborate on what you are getting, and why it is wrong. (For example, if you need to figure out in which branch the latest change occurred, that's a bit more interesting, and challenging. I've been using SVN for the last few years, but IIRC you can parse the output of "cvs rlog" to see what happened where.)
10 More Discussions You Might Find Interesting
1. Solaris
dears
does any one know how can i take backup for reposirory in cvs ?? (9 Replies)
Discussion started by: murad.jaber
9 Replies
2. UNIX for Advanced & Expert Users
Hi all,
We have CVS server running for few years with absolutely no problems.
Because of conditions not depending on me, I'm forced to move some part of our repository to another server (SVN). I need to move ONLY one branch from CVS server to SVN server. The branch must be moved with all... (7 Replies)
Discussion started by: +Yan
7 Replies
3. Shell Programming and Scripting
I am using CVS repositories with eclipse.
I successfully created CVS Repositories with in eclipse. But I have a big problem, I am unable to edit any of the files in our project.
I think it is due to read only property of the file.
I also read the given link
... (2 Replies)
Discussion started by: sufyanfzd
2 Replies
4. Programming
I have a coding project that I'm working on, and I'm tracking revisions using CVS. I'm working on a branch (branch1) at version 1.1.2.1.
Anyway, I created a new C file in the directory for the project, but I can't commit it. The tutorial I read on CVS said that version numbers will be assigned... (6 Replies)
Discussion started by: Ultrix
6 Replies
5. UNIX for Advanced & Expert Users
I have accidently removed a file using the command
rm -r "file.txt" (I have removed it locally !)
I need to restore the file.txt to my existing CVS version.How can I do it ? Please help.
Thank you. :wall: (5 Replies)
Discussion started by: gameboy87
5 Replies
6. Shell Programming and Scripting
I need help with a bash script.
We have a directory of files which need to be renamed and moved to another directory based on filename information in a cvs file.
The contents of the cvs file are as follows:
A102345,abc123
A102347,dfg475
Where dfg475 is the basename without extension
Our... (8 Replies)
Discussion started by: Lloyd Boyette
8 Replies
7. UNIX for Advanced & Expert Users
Hi,
I have deleted a file and commited in CVS.
So, is there any CVS command to revert back that deleted file with existing log messages.
--Thanks in advance
Madhu (1 Reply)
Discussion started by: madhuti
1 Replies
8. Red Hat
Hi Friends,
I configured CVS Repository in RHEL 5.3 Server. But connecting the CVS Repository get the error like.
# cvs -d:pserver:cvs@localhost:/backup/cvs/cvsrep login
Logging in to :pserver:cvs@localhost:2401/backup/cvs/cvsrep
CVS password:
cvs : connect to :2401 failed: Connection... (0 Replies)
Discussion started by: srinivas814
0 Replies
9. UNIX for Advanced & Expert Users
We have an issue where we are able to check out files from unix however not from windows. On Unix I have the cvs host set to /home/group/CVSROOT but when I try and access the folder from windows I get an exception that the server refuses connection.
On unix the CVSROOT is a filer and not the... (0 Replies)
Discussion started by: jjohnson
0 Replies
10. Red Hat
Most of my commands are returning this error on RHEL 6 64 bit:
Also I tried installing many sofwtares, but it fails to correctly work. For example I treid installing dos2unix:
# rpm -ivh dos2unix-5.3.3-5.ram0.98.src.rpm
1:dos2unix warning: user mockbuild does not... (0 Replies)
Discussion started by: India_2014
0 Replies
LEARN ABOUT DEBIAN
cvssuck
CVSSUCK(1) General Commands Manual CVSSUCK(1)
NAME
cvssuck - inefficient cvs repository grabber using cvs command
SYNOPSIS
cvssuck [-h] [-b] [-s] [-v] [-D debug-option,...] cvsroot [-o output-directory|-O output-base] [-l lock-directory|-L lock-base] module ...
DESCRIPTION
CVSsuck is a mirroring tool for cvs repositories. Unlike other tools such as CVSup or rsync, it uses cvs command to access the repository.
So, it works well with remote repositories without a special server or shell account. However it is inefficient and not perfect because
cvs client/server protocol is not designed for mirroring. If a server provides special way to grab a repository, you shouldn't use CVS-
suck.
OPTIONS
-h prints help message.
-b makes CVSsuck to traverse directories in breadth first. CVSsuck traverses directory in depth first by default.
-s specifies skeleton mode. In this mode, CVSsuck grabs only first revision of the trunk, 1.1, branchpoints, head of branches and
tagged revisions. Note that first two (first revision of the trunk and 1.1) is identical in usual case.
-v makes CVSsuck verbosely. This is same as `-D command,attic,leavetmp'.
-D debug-option,...
specifies debug options. Available debug options are listed by `cvssuck -h'.
-o output-directory
specifies the directory to store grabbed repository. A remote RCS file module/dir/file,v in cvsroot will be stored in output-direc-
tory/dir/file,v.
-O output-base
specifies the base directory to store grabbed repository. A remote RCS file module/dir/file,v in cvsroot will be stored in output-
base/module/dir/file,v. -o and -O is exclusive. The last specified before module is effective. By default, CVSsuck behaves as
that current directory is specified with -O.
-l lock-directory
specifies the directory of CVS style lock.
-L lock-base
specifies the base directory of CVS style lock. -l and -L is exclusive. A lock directory should be specified after an output
directory. The last specified before module after an output directory is effective. By default, CVSsuck assumes a lock directory
is same as output directory.
EXAMPLES
% cvssuck :pserver:anonymous@cvs.m17n.org:/cvs/cvs cvssuck
grabs the module cvssuck in the repository :pserver:anonymous@cvs.m17n.org:/cvs/cvs into the directory cvssuck.
% cvssuck :pserver:anonymous@cvs.m17n.org:/cvs/cvs cvssuck cvs-info
grabs the modules cvssuck and cvs-info.
% cvssuck :pserver:anonymous@cvs.m17n.org:/cvs/cvs -O $HOME/.cvsroot cvssuck
grabs the module cvssuck into $HOME/.cvsroot/cvssuck.
% cvssuck :pserver:anonymous@cvs.m17n.org:/cvs/cvs -O $HOME/.cvsroot -L $HOME/.cvslock cvssuck
grabs the module cvssuck into $HOME/.cvsroot/cvssuck with the lock directory $HOME/.cvslock/cvssuck.
% cvssuck :pserver:anonymous@cvs.m17n.org:/cvs/cvs -o $HOME/.cvsroot/cvs/suck cvssuck
grabs the module cvssuck into $HOME/.cvsroot/cvs/suck.
% cvssuck -s :pserver:anonymous@cvs.m17n.org:/cvs/cvs cvssuck
grabs needy revisions (skeleton) of the module cvssuck.
SEE ALSO
http://cvs.m17n.org/~akr/cvssuck/
cvs(1), rcs(1), cvsup(1), rsync(1)
AUTHORS
Tanaka Akira <akr@m17n.org>.
BUGS
It's inefficient.
It's not perfect because revisions stated as `dead' cannot be retrieved. However it is not observable until the state is changed by `cvs
admin -s'.
25 September 2000 CVSSUCK(1)