Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-09-17 | try getlogin() to get the real username when comitting files as root. | Reyk Floeter | |
this gives better information in log messages when the user logged in with a different uid and used sudo or su to become root. matches the behaviour of gcvs except that we don't fallback to LOGNAME or USER since getlogin() should not lie. ok tobias@ | |||
2008-09-12 | Move the revision selection in front of output, so errors won't mix up | Tobias Stoeckmann | |
with output. Matches GNU cvs. | |||
2008-09-12 | Plugged two memory leaks which could be encountered while using -r argument | Tobias Stoeckmann | |
with various CVS commands. "seems to make sense" xsa@ | |||
2008-09-12 | Be also very conservative about the supplied revision for state changes, | Tobias Stoeckmann | |
i.e. don't successfully parse "admin -s dead:1.1:1.1". Changed global var logrev into function-specific all-purpose rev, too. No objections xsa@ | |||
2008-09-12 | Be very conservative about state changes with "admin -s". With GNU CVS | Tobias Stoeckmann | |
and current OpenCVS code it's possible to change a state in a way that cannot be fixed with another admin call. No objections xsa@ | |||
2008-08-29 | Pre-commit checks (CVSROOT/commitinfo) are run before log message is | Tobias Stoeckmann | |
requested. Do this for GNU cvs compatibility, too. ok joris | |||
2008-08-29 | Support for variable expansion in trigger files added. | Tobias Stoeckmann | |
ok joris | |||
2008-08-29 | If parsing of a command in one of the trigger files fails, treat this as an | Tobias Stoeckmann | |
error instead of ignoring it. ok joris | |||
2008-07-08 | missed in last commit, to make things compile cleaner | Joris Vink | |
2008-07-08 | make these compile cleanly | Joris Vink | |
2008-07-08 | use cf->fd in cvs_remote_sendfile() instead of using a local | Joris Vink | |
variable that is only used once, which is in this case. | |||
2008-06-28 | if the user supplied -A only checkout files again if a sticky tag | Joris Vink | |
was in fact set, instead of ALWAYS checking them out no matter what. spotted & diff tested by naddy@ | |||
2008-06-27 | Simply the version string and nuke unecessary variables used to build it. | Xavier Santolaria | |
ok joris | |||
2008-06-27 | Bump version; we're not going to stay with 1.0 forever. | Xavier Santolaria | |
ok joris | |||
2008-06-26 | plug a memleak in rcs_rev_getlines() - initially noticed & diff by | Joris Vink | |
Igor Zinovik - but fixed in a better way by myself. ok tobias@ | |||
2008-06-23 | Some conformance fixes: | Anders Magnusson | |
- Empty brackets forbidden in C99. - ? : and skipping middle argument is both disallowed and considered bad programming habit. OK ray@, xsa@. | |||
2008-06-21 | add a hash table mechanism based upon hcreate(3) but one that allows | Joris Vink | |
us to maintain multiple hash tables concurrently. immediatly start using it to keep track of what directories we have already created and what CVS dirs we already created so we do not recreate them when we do not need to. we will be switching more internals to use this soon. rejoice for cheaper lookups. ok tobias@ | |||
2008-06-20 | Don't parse CVS/Root during import. | Tobias Stoeckmann | |
ok joris | |||
2008-06-20 | admin is only allowed on files which have an entry in CVS/Entries. | Tobias Stoeckmann | |
ok joris | |||
2008-06-20 | Properly send -D arguments to server when run as a client. Issue spotted | Tobias Stoeckmann | |
by sthen. ok joris | |||
2008-06-20 | If -N has been specified along -D for diff, treat invalid dates as ↵ | Tobias Stoeckmann | |
non-existent file. Spotted by sthen. ok joris | |||
2008-06-19 | If checkout/update -p is requested with a specific tag for a file which | Tobias Stoeckmann | |
doesn't contain this tag, don't print head. ok joris | |||
2008-06-19 | Add entries to history file only if it already exists. | Tobias Stoeckmann | |
ok joris | |||
2008-06-17 | Plug memory and file descriptor leaks, diff by Jonathan Armani. | Tobias Stoeckmann | |
ok joris | |||
2008-06-17 | Regular expressions to match repository are allowed to have % in front. | Tobias Stoeckmann | |
Diff by Jonathan Armani. | |||
2008-06-17 | unused vars | Joris Vink | |
2008-06-17 | unbreak diff for newly added files, tsk. | Joris Vink | |
2008-06-15 | if we are using RCS_PARSE_FULLY we can close the RCS file descriptor | Joris Vink | |
as soon as we are done parsing, since we no longer need it for anything. | |||
2008-06-15 | Support the addition of new files in branches. | Tobias Stoeckmann | |
ok joris | |||
2008-06-15 | open the RCS file descriptor with O_RDONLY, like all other code does. | Joris Vink | |
ok tobias@ | |||
2008-06-14 | unfuck CVS/Tag creation, karma sucks doesn't it. | Joris Vink | |
2008-06-14 | Conforming to RCS specification, it is possible but unlikely to encounter | Tobias Stoeckmann | |
an RCS file which has no head revision set. Some commands actually can work with them (log, status) so support these files. Fixes A LOT of possible segmentation faults. ok joris | |||
2008-06-14 | Added support for sticky date set in CVS/Tag and CVS/Entries per directory. | Tobias Stoeckmann | |
ok joris | |||
2008-06-14 | don't always re-open the same CVS/Entries file, instead keep the | Joris Vink | |
last opened CVS/Entries around to operate on and close it whenever we switch directory. gives us a small performance boost, obviously. while doing this, switch the way we write revisions to disk by using fwrite(3) so stuff can get written to disk in chunks instead of writing everything line by line, another win. with help from otto@ ok tobias@ | |||
2008-06-14 | Run cvs_remove_force only if -f has been specified. | Tobias Stoeckmann | |
ok joris | |||
2008-06-14 | No need to add \n at the end of format string for a fatal call. | Tobias Stoeckmann | |
2008-06-14 | Don't trick user into believing that it's actually possible to add a file | Tobias Stoeckmann | |
to repository which is even ready to be checked out. "probably right" joris | |||
2008-06-14 | Fixed wrong function name in fatal call. | Tobias Stoeckmann | |
2008-06-13 | pass the complete path to cvs_file_get_cf() instead of reconstructing | Joris Vink | |
it again in that function. | |||
2008-06-12 | we should be able to handle symbol names that are also RCS tokens, | Joris Vink | |
gnu cvs supports this and we should too really. allows opencvs to properly checkout netbsd trees. spotted & tested by rivo nurges ok tobias@ | |||
2008-06-12 | Fixed a memory leak in export noticed by joris. | Tobias Stoeckmann | |
ok joris | |||
2008-06-12 | properly deal with CVS_USE_WDIR. | Joris Vink | |
ok tobias@ | |||
2008-06-12 | cmdp can be NULL while still in cvs_getopt(), so deal with this | Joris Vink | |
inside of cvs_vlog() since cvs_getopt() might be calling it. spotted by Jonathan Armani | |||
2008-06-12 | You successfully cast 'remove dead cruft' | Joris Vink | |
2008-06-12 | fix logic | Joris Vink | |
2008-06-12 | completely kill the need for TMP_DIR when running checkout, | Joris Vink | |
which gives us better performance among other things. this is however disabled in a few cases: 1) whenever you run checkout over an existing tree (which acts as update) 2) whenever you specify -d or a module alias we're planning on enabling this behaviour for case 2 in the future. anoncvs sysadmins now love us even more. ok tobias@ | |||
2008-06-12 | show any signal we might have received that killed our cvs process. | Joris Vink | |
ok tobias@ | |||
2008-06-11 | always enter cvs_update_leavedir() | Joris Vink | |
2008-06-11 | do not count on files that are uptodate to be on disk in a remote setup. | Joris Vink | |
2008-06-11 | cleanup our junk when in server mode and running as checkout every | Joris Vink | |
time we descend into another directory, leaves even less crap in /tmp while running. |