* server.c (do_cvs_command): add another environment variable,
CVS_SERVER_SLEEP2, after forking to pause the program so one can attach a debugger. * sanity.sh (crerepos): clean up crerepos-18 now that multiroot works in this case. (multiroot): finalize tests for local vs. remote operation. * recurse.c (start_recursion): near the beginning, save the list of directories to spoof as command-line arguments, if necessary. Use that list near the end and call send_file_names to send those arguments to the server. (do_argument_proc): removed, since we call send_file_names now. * main.c (main): re-initialize dirs_sent_to_server on each pass through the loop for each CVSROOT. * cvs.h: add proto for global variable which keeps track of which directories have been sent to the server when in client mode. * client.c (is_arg_a_parent_or_listed_dir): new function. (arg_should_not_be_sent_to_server): new function. Tries to decide whether the given argument should be sent to the server, based on the current CVSROOT and the list of directories sent to the server. (send_repository): add the directory name to the list of directories sent to the server. (send_file_names): call arg_should_not_be_sent_to_server. * add.c (add): switch the order of send_files and send_file_names to make multiple repository support possible. send_files needs to create a list of directories being requested so that send_file_names can decide which command-line arguments to send to the server for the given current CVSROOT. * admin.c (admin): same. * commit.c (commit): same. * diff.c (diff): same. * edit.c (editors): same. * log.c (cvslog): same. * rcs.c (annotate): same. * remove.c (cvsremove): same. * status.c (cvsstatus): same. * tag.c (cvstag): same. * update.c (update): same. * watch.c (watch_addremove): same. (watchers): same.
Showing
- src/ChangeLog 49 additions, 0 deletionssrc/ChangeLog
- src/add.c 1 addition, 1 deletionsrc/add.c
- src/admin.c 1 addition, 1 deletionsrc/admin.c
- src/client.c 152 additions, 54 deletionssrc/client.c
- src/commit.c 7 additions, 7 deletionssrc/commit.c
- src/cvs.h 7 additions, 0 deletionssrc/cvs.h
- src/diff.c 2 additions, 2 deletionssrc/diff.c
- src/edit.c 2 additions, 2 deletionssrc/edit.c
- src/log.c 1 addition, 1 deletionsrc/log.c
- src/main.c 11 additions, 0 deletionssrc/main.c
- src/rcs.c 1 addition, 1 deletionsrc/rcs.c
- src/recurse.c 141 additions, 114 deletionssrc/recurse.c
- src/remove.c 1 addition, 1 deletionsrc/remove.c
- src/sanity.sh 439 additions, 33 deletionssrc/sanity.sh
- src/server.c 10 additions, 0 deletionssrc/server.c
- src/status.c 2 additions, 2 deletionssrc/status.c
- src/tag.c 1 addition, 2 deletionssrc/tag.c
- src/update.c 2 additions, 2 deletionssrc/update.c
- src/watch.c 2 additions, 2 deletionssrc/watch.c
Loading
Please register or sign in to comment