* client.c (send_arg, option_with_arg): Make args const.
* client.h: Likewise, for protos. * cvs.h (find_files): New proto. * find_names.c (find_files, strip_rcsext): New functions. (find_rcs): Make arg const. Use new find_files. Improve header comment block. * hash.c (removenode, mergelists): New function. (delnode): Use removenode. * hash.h (mergelists): New proto. * history.c (HistoryLogPath, HistorySearchPath): New globals. (histfile): Remove global. (get_history_log_name): New function. (history, history_write): Use new functions. (read_hrecs_file): New function containing most content from... (read_hrecs): ...this function, which now accepts a path and a file list and calls read_hrecs_file once for each file. * history.h (HistoryLogPath, HistorySearchPath): Declare globals. * parseinfo.c (parse_config): Parse HistoryLogPath & HistorySearchPath. * sanity.sh (basic2-64): Remove obsolete comment. (config): Test new history options. (crerepos): Test local and remote in parallel. Update to accomodate new history behavior.
Showing
- src/ChangeLog 25 additions, 0 deletionssrc/ChangeLog
- src/client.c 3 additions, 3 deletionssrc/client.c
- src/client.h 2 additions, 2 deletionssrc/client.h
- src/cvs.h 3 additions, 0 deletionssrc/cvs.h
- src/find_names.c 104 additions, 24 deletionssrc/find_names.c
- src/hash.c 52 additions, 14 deletionssrc/hash.c
- src/hash.h 1 addition, 0 deletionssrc/hash.h
- src/history.c 187 additions, 73 deletionssrc/history.c
- src/history.h 4 additions, 0 deletionssrc/history.h
- src/parseinfo.c 32 additions, 0 deletionssrc/parseinfo.c
- src/sanity.sh 93 additions, 60 deletionssrc/sanity.sh
Loading
Please register or sign in to comment