Don't run commit_prep UNSETXID in server mode, because the created #cvs.lastdir

file is owned by the committing user, so that cvs cannot later remove it,
leaving junk in /tmp
This commit is contained in:
christos 2004-01-24 23:46:30 +00:00
parent ba2a0e3e0f
commit e9edfecbb5
1 changed files with 2 additions and 1 deletions

View File

@ -1155,7 +1155,8 @@ precommit_proc (repository, filter)
run_setup (filter);
run_arg (repository);
(void) walklist (saved_ulist, precommit_list_proc, NULL);
return (run_exec (RUN_TTY, RUN_TTY, RUN_TTY, RUN_NORMAL|RUN_REALLY|RUN_UNSETXID));
return (run_exec (RUN_TTY, RUN_TTY, RUN_TTY, RUN_NORMAL|RUN_REALLY|
(server_active ? 0 : RUN_UNSETXID)));
}
/*