diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2006-06-06 05:13:40 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2006-06-06 05:13:40 +0000 |
commit | 986c1709bd454c556f1d617141a8bc630c0e1d11 (patch) | |
tree | 01530019f3b7c0724ff4e36a5b571fa23a2a419c /usr.bin/cvs/entries.c | |
parent | e050da0a7ff2a630ed415df93c50c041afa7f810 (diff) |
add support for the -D option of update,
-D allows you to update a file to matching a specified date:
opencvs up -D "1 hour ago" foobar will take the first matching
revision that was commited 1 hour ago.
Diffstat (limited to 'usr.bin/cvs/entries.c')
-rw-r--r-- | usr.bin/cvs/entries.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/entries.c b/usr.bin/cvs/entries.c index 8db8457b787..7a98988be12 100644 --- a/usr.bin/cvs/entries.c +++ b/usr.bin/cvs/entries.c @@ -1,4 +1,4 @@ -/* $OpenBSD: entries.c,v 1.57 2006/05/27 03:30:30 joris Exp $ */ +/* $OpenBSD: entries.c,v 1.58 2006/06/06 05:13:39 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * @@ -163,7 +163,7 @@ cvs_ent_parse(const char *entry) ent->ce_opts = NULL; if (strcmp(fields[5], "")) - ent->ce_tag = fields[5]; + ent->ce_tag = fields[5] + 1; else ent->ce_tag = NULL; |