Sponsored Content
Top Forums UNIX for Advanced & Expert Users Adding a CVS tag to a new file Post 92483 by rahulrathod on Monday 12th of December 2005 04:35:58 AM
Old 12-12-2005
Lightbulb Adding a CVS tag to a new file

All,

I've been working with perl scripts and shell scripts for quite some time now. I've been making code changes and submitting them into cvs.

But I've never created a new file and added it to the directory tree. I know the cvs commands to add it to the directory tree. What I don't know is to how to get a CVS tag associated with the new file. The tag seen in the existing files is as follows.

CVS Tag: $Id: loader.sh,v 1.5 2005/08/30 14:34:29 rahulr Exp $

This is a tag of a file which was originally written by some1 else and the latest change was done was by my login. Can you let me know a way by which I can have a similar tag in my new file as follows?

CVS Tag: $Id: fetcher.sh,v 1.1 2005/12/12 14:34:29 rahulr Exp $

Thanks,
Rahul.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

script grabbing cvs file .....

how do I write a script to checkout a file in cvs and cat the file into a file in my home directory Commands are cd /home/smr/sandbox cvsroot choose option 1 cvs co filename cat filename > /home/smr/newfilename Thank you! (4 Replies)
Discussion started by: llsmr777
4 Replies

2. UNIX for Advanced & Expert Users

CVS command checkin log minus tag log

Hi What is the cvs command for getting the diff between the checkin log and tag log. i am trying cvs rdiff -s -r <branch Tag> -r <branch> <module> but it is not giving me the files that were not tagged. I think it is doing a diff for common files in head and tag. Please help ... (0 Replies)
Discussion started by: rakeshou
0 Replies

3. UNIX for Dummies Questions & Answers

Copy a windows CVS file to the unix server as a svs file

I so desperately need a script to copy a windows csv file to my unix server and i know these should be at dummies but i have no bits. it is life & no job situation help please. thanks (1 Reply)
Discussion started by: zhegal
1 Replies

4. Programming

How to create a new file in a CVS repository

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. Shell Programming and Scripting

How to retrieve the value from XML tag whose end tag is in next line

Hi All, Find the following code: <Universal>D38x82j1JJ </Universal> I want to retrieve the value of <Universal> tag as below: Please help me. (3 Replies)
Discussion started by: mjavalkar
3 Replies

6. Shell Programming and Scripting

How To Save A File As A .cvs

Hello. I have a file of text with columns: aaaa bbbb ccc dddd aaaa bbbb ccc dddd aaaa bbbb ccc dddd How can this be converted to a .csv file? Thanks (4 Replies)
Discussion started by: jimmyf
4 Replies

7. Shell Programming and Scripting

Search for a html tag and print the entire tag

I want to print from <fruits> to </fruits> tag which have <fruit> as mango. Also i want both <fruits> and </fruits> in output. Please help eg. <fruits> <fruit id="111">mango<fruit> . another 20 lines . </fruits> (3 Replies)
Discussion started by: Ashik409
3 Replies

8. Shell Programming and Scripting

To search for a particular tag in xml and collate all similar tag values and display them count

I want to basically do the below thing. Suppose there is a tag called object1. I want to display an output for all similar tag values under heading of Object 1 and the count of the xmls. Please help File: <xml><object1>house</object1><object2>child</object2>... (9 Replies)
Discussion started by: srkmish
9 Replies

9. Shell Programming and Scripting

Need help in adding missing tag in php pages

hi, I am still a newbie on ssh but trying hard. my friends website was hit by some virus which included a long encrypted malware code on each and every php file she had. I was able to use sed command via ssh to remove the malware codes but now most pages don't have a opening <?php tag. i... (8 Replies)
Discussion started by: netatma
8 Replies

10. Shell Programming and Scripting

Moving XML tag/contents after specific XML tag within same file

Hi Forum. I have an XML file with the following requirement to move the <AdditionalAccountHolders> tag and its content right after the <accountHolderName> tag within the same file but I'm not sure how to accomplish this through a Unix script. Any feedback will be greatly appreciated. ... (19 Replies)
Discussion started by: pchang
19 Replies
CVS-DEBC(1)                                                   General Commands Manual                                                  CVS-DEBC(1)

NAME
cvs-debc - view contents of a cvs-buildpackage/cvs-debuild generated package SYNOPSIS
cvs-debc [options] [package ...] DESCRIPTION
cvs-debc 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 displays information about the .deb files which were generated in that run, by running dpkg- deb -I and dpkg-deb -c on every .deb archive listed in the .changes file, assuming that all of the .deb archives live in the same directory as the .changes file. It is useful for ensuring that the expected files have ended up in the Debian 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 processed. 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. 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-debi(1), cvs-debuild(1) and debc(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-DEBC(1)
All times are GMT -4. The time now is 07:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy