diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2008-06-08 18:08:35 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2008-06-08 18:08:35 +0000 |
commit | 7afc57f28ff399a31197dd6ce648993e1ef756e7 (patch) | |
tree | 8cee39bfe7b31271c15c14713077d47ea19149cb /usr.bin | |
parent | 5bea34cea9da023e06763ac1f2129d3562db7229 (diff) |
properly handle FILE_UPTODATE and FILE_LOST
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cvs/remove.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cvs/remove.c b/usr.bin/cvs/remove.c index 6957fb51df4..9b5be7c5685 100644 --- a/usr.bin/cvs/remove.c +++ b/usr.bin/cvs/remove.c @@ -1,4 +1,4 @@ -/* $OpenBSD: remove.c,v 1.74 2008/06/08 02:54:08 tobias Exp $ */ +/* $OpenBSD: remove.c,v 1.75 2008/06/08 18:08:34 joris Exp $ */ /* * Copyright (c) 2005, 2006 Xavier Santolaria <xsa@openbsd.org> * @@ -186,7 +186,8 @@ cvs_remove_local(struct cvs_file *cf) cf->file_name); } return; - default: + case FILE_LOST: + printf("%d\n", cf->file_status); rcsnum_tostr(cf->file_ent->ce_rev, rbuf, sizeof(rbuf)); ctime_r(&cf->file_ent->ce_mtime, tbuf); |