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 LINUX
cvs-debi
CVS-DEBI(1) General Commands Manual CVS-DEBI(1)
NAME
cvs-debi - install cvs-buildpackage/cvs-debuild generated package
SYNOPSIS
cvs-debi [options] [package ...]
DESCRIPTION
cvs-debi is run from the CVS working directory after cvs-buildpackage or cvs-debuild. It uses the cvs-buildpackage system to locate the
.changes file generated in that run. It then runs debpkg -i on every .deb archive listed in the .changes file to install them, assuming
that all of the .deb archives live in the same directory as the .changes file. Note that you probably don't want to run this program on a
.changes file relating to a different architecture after cross-compiling the package!
If a list of packages is given on the command line, then only those debs with names in this list of packages will be installed.
Note that unlike cvs-buildpackage, the only way to specify the source package name is with the -P option; you cannot simply have it as the
last command-line parameter.
Since installing a package requires root privileges, debi calls debpkg rather than dpkg directly. Thus debi will only be useful if it is
either being run as root or debpkg can be run as root. See debpkg(1) for more details.
OPTIONS
All current cvs-buildpackage options are silently accepted; however, only the ones listed below have any effect. For more details on all
of them, see the cvs-buildpackage(1) manpage.
-adebian-architecture, -tGNU-system-type
See dpkg-architecture(1) for a description of these options. They affect the search for the .changes file. They are provided to
mimic the behaviour of dpkg-buildpackage when determining the name of the .changes file.
-Mmodule
The name of the CVS module.
-Ppackage
The name of the package.
-Vversion
The version number of the package.
-Ttag The CVS tag to use for exporting sources.
-Rroot directory
Root of the original sources archive.
-Wwork directory
The full path name for the cvs-buildpackage working directory.
-xprefix
This option provides the CVS default module prefix.
--help, --version
Show help message and version information respectively.
SEE ALSO
cvs-buildpackage(1), cvs-debc(1) cvs-debuild(1) and debi(1).
AUTHOR
cvs-buildpackage was written by Manoj Srivastava, and the current version of debi was written by Julian Gilbey <jdg@debian.org>. They have
been combined into this program by Julian Gilbey.
DEBIAN Debian Utilities CVS-DEBI(1)