LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-30-2006, 09:51 AM   #1
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Rep: Reputation: 30
cvs diff the most current and second last current version


Is there a way to do a cvs diff between the most current and second last current version of a file without specifying a version number?

i.e. Assume the most current version is N.
How to do a diff between N and (N - 1)?

This does not work:
# cvs diff -r LATEST file
# cvs [diff aborted]: no such tag LATEST
 
Old 03-30-2006, 01:02 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
Not as far as I know. The keyword HEAD is used to mean the latest version of a file because it refers to the main branch and when a branch is checked out by branch name, you get the last version on the branch. But there isn't a way to refer to versions relatively.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to know the current SuSE version? hongxing Suse/Novell 2 10-12-2005 03:02 AM
current version gontarski Debian 5 03-16-2005 07:47 AM
current Slack-Current giving troubles? r_jensen11 Slackware 5 02-02-2004 05:08 PM
How do you tell the current version of your kernel? Riley Linux - General 2 03-30-2003 07:33 PM
Can't mount current version Rod Linux - General 2 11-08-2000 01:46 AM


All times are GMT -5. The time now is 09:17 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration