Portál AbcLinuxu, 9. května 2025 22:44
Zkoušel jsem namátkou:-r tag[:date]
Compare with revision specified by tag or, when date is specified and tag is a branch tag, the version from the branch tag as it existed on date. Zero, one or two `-r
' options can be present. With no `-r
' option, the working file will be compared with the revision it was based on. With one `-r
', that revision will be compared to your current working file. With two `-r
' options those two revisions will be compared (and your working file will not affect the outcome in any way). One or both `-r
' options can be replaced by a `-D
date' option, described above.
$ cvs diff -r new_afm_solve-b:'13/08/2006 22:00.00' cvs [diff aborted]: Can't parse date/time: `13/08/2006 22:00.00' $ cvs diff -r new_afm_solve-b:'13/08/2006' cvs [diff aborted]: Can't parse date/time: `13/08/2006' $ cvs diff -r new_afm_solve-b:'2006/08/13' cvs [diff aborted]: tag `new_afm_solve-b:2006/08/13' must not contain the characters `$,.:;@' $ cvs diff -r new_afm_solve-b:'08 13' cvs [diff aborted]: Can't parse date/time: `08 13' $ cvs diff -r new_afm_solve-b:'Aug 13' cvs [diff aborted]: tag `new_afm_solve-b:Aug 13' must not contain the characters `$,.:;@' $ cvs diff -r new_afm_solve-b:'13.08' cvs [diff aborted]: Can't parse date/time: `13.08' $ cvs diff -r new_afm_solve-b:'06-08-14' cvs [diff aborted]: tag `new_afm_solve-b:06-08-14' must not contain the characters `$,.:;@' $ cvs diff -r new_afm_solve-b:'2006-08-14' cvs [diff aborted]: tag `new_afm_solve-b:2006-08-14' must not contain the characters `$,.:;@' $ cvs diff -r new_afm_solve-b:'14 aug' cvs [diff aborted]: tag `new_afm_solve-b:14 aug' must not contain the characters `$,.:;@' $ cvs diff -r new_afm_solve-b:'14aug' cvs [diff aborted]: tag `new_afm_solve-b:14aug' must not contain the characters `$,.:;@' $ cvs diff -r new_afm_solve-b'\:14aug' cvs [diff aborted]: tag `new_afm_solve-b\:14aug' must not contain the characters `$,.:;@' $ cvs diff -r new_afm_solve-b':14aug' cvs [diff aborted]: tag `new_afm_solve-b:14aug' must not contain the characters `$,.:;@' $ cvs diff -r new_afm_solve-b':14-08-2006' cvs [diff aborted]: Can't parse date/time: `14-08-2006' $ cvs diff -r new_afm_solve-b':20060814' cvs [diff aborted]: tag `new_afm_solve-b:20060814' must not contain the characters `$,.:;@' $ cvs diff -r new_afm_solve-b':2006.08.14' cvs [diff aborted]: Can't parse date/time: `2006.08.14' $ cvs diff -r new_afm_solve-b':2006.08.13 22:00:00' cvs [diff aborted]: Can't parse date/time: `2006.08.13 22:00:00' $ cvs diff -r new_afm_solve-b -D 2006.08.13 cvs [diff aborted]: Can't parse date/time: `2006.08.13' $ cvs diff -r new_afm_solve-b -D 20060813 cvs diff: Diffing . cvs diff: Date 2006.08.12.22.00.00 refers to a dead (removed) revision in file `AFM.pm'.A milión dalších kombinací co už jsem zkoušel. Jak je vidět kombinací
-r
a -D
se ke kýženému stavu nemůžu dostat (demonstrováno na souborech které existují pouze v této větvi) a na správnou syntaxi -r tag:date
nmůžu přijít.
$ cvs diff -r new_afm_solve-b':20060814' cvs [diff aborted]: tag `new_afm_solve-b:20060814' must not contain the characters `$,.:;@'
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.