History log of /openbsd/usr.bin/cvs/history.c (Results 1 – 25 of 45)
Revision Date Author Comments
# ce7279d8 21-May-2024 jsg <jsg@openbsd.org>

remove prototypes with no matching function and externs with no var
partly checked by millert@


# 28fb0957 20-Jul-2017 okan <okan@openbsd.org>

Add missing <time.h> header.

ok joris@


# 53ce2177 13-Oct-2016 fcambus <fcambus@openbsd.org>

rcsnum_free() -> free() cleanups. From Michael W. Bombardieri.

OK millert@


# 397ddb8a 05-Nov-2015 nicm <nicm@openbsd.org>

Remove xfree(), like already done for RCS. From Michael W Bombardieri,
ok mmcc


# b9fc9a72 16-Jan-2015 deraadt <deraadt@openbsd.org>

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_N

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)

show more ...


# 42354d6e 13-Dec-2013 zhuk <zhuk@openbsd.org>

Make it compile again. And there is a time_t fix as a bonus!

Input and okay jca@.


# 7bb3ddb0 23-Jul-2010 ray <ray@openbsd.org>

Reduce variable/function name and whitespace differences between
cvs/rcs.

OK xsa zinovik


# b35edee1 19-Jun-2008 tobias <tobias@openbsd.org>

Add entries to history file only if it already exists.

ok joris


# 062b8fd7 11-Jun-2008 tobias <tobias@openbsd.org>

GNU cvs "compresses" CVSROOT/history by shrinking entry for working dir
and repositry by replacing home directory with ~ and adding things like
"*4" at the end of working directory if the last part o

GNU cvs "compresses" CVSROOT/history by shrinking entry for working dir
and repositry by replacing home directory with ~ and adding things like
"*4" at the end of working directory if the last part of a path is the
same for working directory and repository.

ok joris

show more ...


# 28b0a253 10-Jun-2008 tobias <tobias@openbsd.org>

Added support for tag and date in cvs_history_add for checkout/export.

ok joris


# 3c84fc2e 10-Jun-2008 tobias <tobias@openbsd.org>

If cvs_history_add has been called for a specific file, repo must be built
up from working directory of that file instead of top directory.

ok joris


# f331ff59 31-Jan-2008 tobias <tobias@openbsd.org>

Replaced the unused cvs_command variable cmd_req with cmd_flags, which states
if the current command is supposed to use a working directory or if it is a
repository-only command (as of now checkout -

Replaced the unused cvs_command variable cmd_req with cmd_flags, which states
if the current command is supposed to use a working directory or if it is a
repository-only command (as of now checkout -p, rtag, rlog).

Makes the code simpler, easier to read and automagically fixes some issues
we encountered with these commands (for example if a working directory
exists, or "." operations are performed).

OK joris@, niallo@

show more ...


# 2a04ffe6 10-Sep-2007 tobias <tobias@openbsd.org>

Properly display list of commands in default 80 column terminal.

OK joris@


# 5a781597 09-Aug-2007 ray <ray@openbsd.org>

Use '\0', not NULL, for NUL characters.

Pointed out by Anonymous Coward on slashdot.

OK niallo.


# 5dd120b0 03-Jul-2007 joris <joris@openbsd.org>

Rework the way opencvs works in relation to files in the Attic/:

Previously, files in the 'Attic/' were linked into our filelist as being
'Attic/filename,v' this caused unneeded stress on certain fu

Rework the way opencvs works in relation to files in the Attic/:

Previously, files in the 'Attic/' were linked into our filelist as being
'Attic/filename,v' this caused unneeded stress on certain functions
like cvs_file_classify() who had to do pointer voodoo to split out
the 'Attic/' part and do other very weird stuff to normalize the pathname
of these files.

Instead, we handle these files early in the start when we
build the fileslist in cvs_repository_getdir(). When encountering
the 'Attic/' directory, we recurse in it if required but instead of
using the 'Attic/' directory component as our base directory we stick
with the directory name where 'Attic/' resides in, resulting in the
correct filename while maintaining the correct RCSpath for the file.

This made the following things a lot easier:
(and in most cases actually fixed the below points)

- status with files in Attic/.
- checking out HEAD repositories with files in Attic/.
- checking out repositories with -rTAG.
- updating with -rTAG.

and as an added bonus the following now also works:

- correctly creating CVS/Tag in both local and remote mode thus
allowing update/status/and more to work correctly with the tagged tree.
(thanks to the correct handling of -rTAG cases).
- resetting tags with opencvs -A properly works too now.

This is a major step forward into the usability
of OpenCVS when it comes to maintaining multiple tagged trees, the next
logical step would be to fix commiting to branches.

enjoy you -stable cowards.

tested by myself, xsa, niallo and ckuethe
thanks guys!

show more ...


# 0a7da307 28-Jun-2007 xsa <xsa@openbsd.org>

Sync revisions and time buffers size to be consistent with each others.
Simplifies further size tweaks if needed.
OK niallo@ ray@.


# 4f5c3994 28-Jun-2007 joris <joris@openbsd.org>

when logging to CVSROOT/history as a server fill in the
directory as <remote> instead of /tmp/cvs-serv<pid>


# eb5e8157 20-Jun-2007 xsa <xsa@openbsd.org>

Add missing `his' command alias. OK joris@.


# 3901dfa5 18-Jun-2007 joris <joris@openbsd.org>

first stab at history stuff for opencvs, currently only writes
to CVSROOT/history but cannot parse it yet with the 'history' command.

"Commit it." ray@


# c61e2fa7 23-Jan-2006 xsa <xsa@openbsd.org>

wrap usage;


# ac41f80c 02-Jan-2006 xsa <xsa@openbsd.org>

#include's cleanup; ok joris@ niallo@.


# 7e393898 30-Dec-2005 joris <joris@openbsd.org>

major cleanup of the functions handling the remote cvs protocol.
makes the code a lot more readable and understandable.

ok xsa@ and niallo@


# ff1f7a8e 25-Jul-2005 xsa <xsa@openbsd.org>

KNF;


# 8d0b1237 21-Jul-2005 xsa <xsa@openbsd.org>

<sys/param.h> is already included in "cvs.h", no need to duplicate;


# 4f4b74c0 11-Jul-2005 joris <joris@openbsd.org>

we aren't using cvs_history_print() right now


12