Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Add "-b" argument to "cvs rdiff"?: msg#00149

version-control.cvs.bugs

Subject: Re: Add "-b" argument to "cvs rdiff"?

Jonathan Kamens writes:
>
> I'd like to be able to do date-based comparisons with "cvs rdiff" on a
> branch instead of on the trunk. As far as I can tell there's no way
> to do that. The obvious solution seems to be to add a "-b" option to
> rdiff, which would be ignored for "-r" arguments but used for "-D"
> arguments. My questions:
>
> 1) Am I correct that what I'm trying to do isn't supported right now?
>
> 2) Is the solution I'm proposing reasonable?
>
> 3) Does anybody know of any gotchas I should watch out for when I try
> to do this and/or suggestions for how to implement the change?

You're thinking too narrowly -- this is a capability that is need for
essentially all CVS commands, not just rdiff.

There was some discussion of this a while back. Many CVS commands allow
you to specify both -r and -D to get a branch as of a particular date,
but not all of them. And commands like rdiff and diff aren't amenable
to that solution since they already interpret -r and -D as specifying
two different revisions. The checkout and update commands allow you to
specify a date on a branch for a join (-j) by using tag:date -- it seems
to me that a better solution is to change all of the CVS commands to
accept that format for -r so that there is consistency between the
commands and deprecate using -r and -D together.

-Larry Jones

Your bangs do a good job of covering up the lobotomy stitches. -- Calvin


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qplus.devel/200...    network.jabber....    debian.qa-packa...    encryption.gpg....    python.dabo.dev...    uclinux.devel/2...    science.mathema...    recreation.pesc...    kernel.ck/2004-...    mozilla.devel.e...    tex.latex.prosp...    ietf.multi6/200...    bbc.cvs/2002-11...    xfree86.newbie/...    jakarta.taglibs...    altlinux.hardwa...    comedi/2002-05/...    horde.bugs/2004...    games.diplomacy...    finance.e-gold....    web.dom.test-su...    lang.ruby.rails...    os.netbsd.devel...    video.gstreamer...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation