avatar
s*e
1
【 以下文字转载自 Programming 讨论区,原文如下 】
发信人: seashore (化蛹为蝶), 信区: Programming
标 题: CVS question
发信站: The unknown SPACE (Tue Jun 24 14:25:15 2003) WWW-POST
If I want to checkout a copy no later than a specific
date (e.g. June 1st, 2003), how should I do that? I tried
cvs co -D 06-01-2003
but it always says it could not parse the date...
What should be the correct format for date? I got this
from the cvs help, why it does not work?
Thanks
avatar
m*c
2

The data format is wrong, check the syntax below:
-D date_spec
Use the most recent revision no later than date_spec (a single
argument, date description specifying a date in the past). A
wide variety of date formats are supported, in particular ISO
("1972-09-24 20:05") or Internet ("24 Sep 1972 20:05"). The
date_spec is interpreted as being in the local timezone, unless
a specific timez

【在 s******e 的大作中提到】
: 【 以下文字转载自 Programming 讨论区,原文如下 】
: 发信人: seashore (化蛹为蝶), 信区: Programming
: 标 题: CVS question
: 发信站: The unknown SPACE (Tue Jun 24 14:25:15 2003) WWW-POST
: If I want to checkout a copy no later than a specific
: date (e.g. June 1st, 2003), how should I do that? I tried
: cvs co -D 06-01-2003
: but it always says it could not parse the date...
: What should be the correct format for date? I got this
: from the cvs help, why it does not work?

avatar
s*e
3
Thanks,
Yes, -D 06/03/2003 works with me.

single
A
ISO
The
unless
is
source
records
same
override
available
and
include:

【在 m**c 的大作中提到】
:
: The data format is wrong, check the syntax below:
: -D date_spec
: Use the most recent revision no later than date_spec (a single
: argument, date description specifying a date in the past). A
: wide variety of date formats are supported, in particular ISO
: ("1972-09-24 20:05") or Internet ("24 Sep 1972 20:05"). The
: date_spec is interpreted as being in the local timezone, unless
: a specific timez

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。