|
|
Choosing A Webhost: |
Re: Add "-b" argument to "cvs rdiff"?: msg#00149version-control.cvs.bugs
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> |
|---|---|---|
| Previous by Date: | 供监控产品, 赵光辉 |
|---|---|
| Next by Date: | Re: CVS log in bug?, Larry Jones |
| Previous by Thread: | Add "-b" argument to "cvs rdiff"?, Jonathan Kamens |
| Next by Thread: | Re: Add "-b" argument to "cvs rdiff"?, Stephen Rasku |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive 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 |