diff options
author | zinovik <zinovik@cvs.openbsd.org> | 2010-07-09 18:42:15 +0000 |
---|---|---|
committer | zinovik <zinovik@cvs.openbsd.org> | 2010-07-09 18:42:15 +0000 |
commit | aee7aada39ab1d1de8bff2000d641592736076d7 (patch) | |
tree | 5d47486a3cd12c7efbed06ad8a3d0611b0210129 | |
parent | 6cf3949d0a06ae0c5500e7062bb8e40f82a0c377 (diff) |
when opencvs is started with trace option `-t' it must print function it
enters, even if it was executed simultaneously with `-n' (no exec option).
cvs_unedit_local() does not conform that behaviour, so lets make it behave
like all other functions.
ok xsa@, stsp@
-rw-r--r-- | usr.bin/cvs/edit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/edit.c b/usr.bin/cvs/edit.c index c4e6802bd07..8031b7000d0 100644 --- a/usr.bin/cvs/edit.c +++ b/usr.bin/cvs/edit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: edit.c,v 1.48 2008/06/23 20:51:08 ragge Exp $ */ +/* $OpenBSD: edit.c,v 1.49 2010/07/09 18:42:14 zinovik Exp $ */ /* * Copyright (c) 2006, 2007 Xavier Santolaria <xsa@openbsd.org> * @@ -331,11 +331,11 @@ cvs_unedit_local(struct cvs_file *cf) char wdir[MAXPATHLEN], sticky[CVS_ENT_MAXLINELEN]; RCSNUM *ba_rev; + cvs_log(LP_TRACE, "cvs_unedit_local(%s)", cf->file_path); + if (cvs_noexec == 1) return; - cvs_log(LP_TRACE, "cvs_unedit_local(%s)", cf->file_path); - cvs_file_classify(cf, cvs_directory_tag); (void)xsnprintf(bfpath, MAXPATHLEN, "%s/%s", |