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:
parent
ba2a0e3e0f
commit
e9edfecbb5
|
@ -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)));
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue