History log of /openbsd-src/usr.bin/cvs/commit.c (Results 26 – 50 of 160)
Revision Date Author Comments
# 84920933 08-Jun-2008 tobias <tobias@openbsd.org>

Handle commits on a per-directory basis instead handling all of them at
once in local setup. Also added '!' to reuse typed log message for all
following directories.

ok joris


# c4d292c1 08-Jun-2008 tobias <tobias@openbsd.org>

Properly build up path to description files (descr entry in RCS files if
you add a file with -m message).

ok joris


# e1936db1 17-May-2008 tobias <tobias@openbsd.org>

Full support of branches added. We lacked proper support of multiple
branch entry points in one revision as well as branches which started from
other branches.

ok joris


# fb3beb6c 09-Mar-2008 joris <joris@openbsd.org>

proper repository locking:
- all read operations now look for a lock, and wait if present but never
try to lock the tree themselfs anymore.
- all write operations lock the tree where needed.
- comm

proper repository locking:
- all read operations now look for a lock, and wait if present but never
try to lock the tree themselfs anymore.
- all write operations lock the tree where needed.
- commit locks all relevant directories before even attempting to start.

show more ...


# 2e0d696a 27-Feb-2008 joris <joris@openbsd.org>

prevent file races

ok tobias@


# 0a178a7d 20-Feb-2008 tobias <tobias@openbsd.org>

With latest buf cleanup, rcs_rev_getbuf won't return NULL anymore.

OK joris@


# 9aad96bc 11-Feb-2008 tobias <tobias@openbsd.org>

Cleanup buf implementation:

* Don't check for NULL on buffer creation, because it calls fatal() when
something's wrong.
* All buffers are supposed to expand if there is no space left in them,
so

Cleanup buf implementation:

* Don't check for NULL on buffer creation, because it calls fatal() when
something's wrong.
* All buffers are supposed to expand if there is no space left in them,
so zap flags as well.
* Remove code that is now dead.

OK joris@

> Inspired by a diff from Igor Zinovik about unchecked return value.

show more ...


# 62312420 10-Feb-2008 joris <joris@openbsd.org>

do not allow commits to files that have a sticky date set


# ea48eba6 04-Feb-2008 joris <joris@openbsd.org>

CVSROOT/modules:

correct -i and -o usage

-i runs the program specified on commit
-o runs the program specified on checkout


# 37fdff3f 04-Feb-2008 tobias <tobias@openbsd.org>

Added -k flag support for all commands which support it.

OK joris@


# 4649b416 31-Jan-2008 joris <joris@openbsd.org>

free RCSNUM's when we are done with them;

ok tobias@


# 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 ...


# 54de3f21 29-Jan-2008 tobias <tobias@openbsd.org>

Properly free dynamically allocated memory. Also skip needless checks.

> Diff from Igor Zinovik


# b794e5f5 28-Jan-2008 tobias <tobias@openbsd.org>

Zapped some variables which made the source harder to read (and to verify).

> Diff from Igor Zinovik


# f4d74cd1 28-Jan-2008 tobias <tobias@openbsd.org>

checkout's options -m and -F are mutually exclusive. Also watch out to
properly free arguments if options are supplied multiple times.

OK ray@

> Diff from Igor Zinovik


# bcf22459 28-Jan-2008 tobias <tobias@openbsd.org>

Properly handle -R -- although it is default, it may be overwritten mit -l
in front of it.

OK joris@, xsa@

> Diff from Igor Zinovik


# 7fa064ca 13-Jan-2008 tobias <tobias@openbsd.org>

Revision buffers are supposed to be of size CVS_REV_BUFSZ (32) instead
of 24.

OK xsa@

> Diff from Igor Zinovik.


# 17b2872a 13-Jan-2008 tobias <tobias@openbsd.org>

Typos fixed.

OK xsa@

> Diff from Igor Zinovik.


# 87d368dc 10-Jan-2008 tobias <tobias@openbsd.org>

Our keyword expansion had a big flaw, due to this construction:
if (!(mode & RCS_KWEXP_NONE))

RCS_KWEXP_NONE is defined to 0, so expansion happened always.

Left shifted all RCS_KWEXP defines and lo

Our keyword expansion had a big flaw, due to this construction:
if (!(mode & RCS_KWEXP_NONE))

RCS_KWEXP_NONE is defined to 0, so expansion happened always.

Left shifted all RCS_KWEXP defines and looked carefully at hard-coded values
throughout the code.

show more ...


# 9af0ab72 10-Jan-2008 tobias <tobias@openbsd.org>

RCS files without head keyword mustn't segfault our implementation. Only
command that supports such files is "cvs status", therefore properly handle
them in all other commands, too.


# eb6d38a6 08-Oct-2007 joris <joris@openbsd.org>

do not try to reset the default branch if the RCS file
does not exist, fixes a segfault when commiting a new file.

found by tobias@ who is going to make a nice little regression test for this.


# b6bee913 03-Oct-2007 joris <joris@openbsd.org>

reset the default branch early on so rcs_head_get() does not screw us up
and returns a possibly wrong revision as 'current revision'.

noticed by tobias@ his regress testing


# 322c5b95 24-Sep-2007 joris <joris@openbsd.org>

unused vars


# 18cf7829 24-Sep-2007 joris <joris@openbsd.org>

add support to commit modified files to branches.


# 5d320860 23-Sep-2007 joris <joris@openbsd.org>

make sure when running update -r on existing files to overwrite
the sticky directory tag with it. since -r gets priority.


1234567