Age | Commit message (Collapse) | Author |
|
error messages (found by tom@)
- make rcs_choosefile() save wrt errno, input from ray@
ok joris@ xsa@
|
|
never print errors or quit on error.
Fix usages of rcs_buf_load() and rcs_set_description.
Also plug an fd leak.
OK xsa@
|
|
OK joris@
|
|
unnecessary. These xstrdup() calls don't call xfree() before anyway,
so if a flag is given multiple times memory leaks would have resulted.
OK joris@
|
|
removes a memory leak if -A is given multiple times.
OK joris@
|
|
handling exceptions oddly.
OK joris@
|
|
|
|
OK joris@ ray@.
|
|
|
|
__dead. I never should have put them there.
OK xsa@.
|
|
removing elements from the list inside the loop.
this has been documented *clearly* in queue(3).
okay niallo@
|
|
OK xsa@ and probably others.
|
|
OK xsa@ and jmc@.
|
|
|
|
|
|
do our operations on that, this is safe and guarantees we
can operate on the file until we close(2) it.
a fix is coming for the remaining races in our diff code.
okay niallo@ and ray@
|
|
this was starting to become inhuman to maintain without
ugly ugly hacks in the shared code, and it will be easier
to make specific changes for openrcs without touching the
soon-to-be-replaced opencvs code.
|
|
|
|
OK joriski.
|
|
mode for `-k'.
|
|
unlike rcs).
o Share code with rcs by moving rcs_set_description() to rcsutil.c.
o Change description prompt from #define to const char *.
OK xsa@
|
|
"the voices in my head say OK!" joris@.
|
|
specified when using rcs(1). OK ray@ joris@.
|
|
OK ray@ and discussed with joris@.
|
|
|
|
|
|
reducing some complex fats from ci.c.
OK joris@
|
|
OK xsa@
|
|
|
|
nuke rlog_rev_select(). OK niallo@.
|
|
- show magic branches in rlog (thanks for that nicer hack niall).
- correct output in rcsdiff, so we perfectly match gnu's
all these bugs were found by sturm@ while he was using cvsweb
(which uses the RCS tools).
"it is in my view that you should put it in" niallo@
|
|
blind, too. seek help. no binary change, ok joris
|
|
-o allows users to delete revisions in the specified RCS files.
example:
rcs -o1.4:1.6 foo deletes revisions 1.4 - 1.6
rcs -o1.3 foo deletes revision 1.3
joint work with niallo@
okay niallo@
|
|
"cool" niallo@
|
|
|
|
Save 2 bytes of newlines.
OK joris@
|
|
flag, it calls one of two new functions: rcs_setrevstr() or
rcs_setrevstr2(). rcs_setrevstr() sets a string to another string,
and complains if it was set more than once. rcs_setrevstr2() takes
two strings, sets one after the other, and fatal()s if more than
two strings were given.
All <rev> handling is now done in the loop that goes through each
argv. This is necessary for parsing symbols, which will be much
easier after this.
Along the way a lot of memory leaks were cleaned up. There is one
area where rcs_set_rev() is called, which allocates a RCSNUM and
stores it in pb.newrev, but it segfaults whenever I try to rcsnum_free()
it. I put an /* XXX */ comment there for now.
Passes regression tests and the code is less complicated in some
ways (to me).
Suggestions and OK xsa@
|
|
and xsa@ finally convinced me this is safe (and better).
OK joris@, niallo@, and xsa@.
|
|
|
|
|
|
|
|
``put it all in'' joris@
|
|
Prevents bitfield pollution between the two.
``This is how it should be.'' niallo@
|
|
|
|
permissions from rcs file and initial checkin will inherit permissions from
working file.
problem spotted by uwe@
ok ray@ xsa@
|
|
- Add comments.
- Support -t-inline-comments-like-man-page-says.
- -tfilename still works.
- When using -t (read description from stdin) don't end when first
character is `.'. Instead, end if whole line consists of one `.'.
- Add regression test.
I also changed the regression Makefile to have a trailing slash on
the final element. As long as we have a blank line it will be fine,
plus it will save us some trouble when adding new tests.
After adding line breaks, ``rest looks fine.'' xsa@
|
|
- RCS_CREATE is now set in flags.
- Since flags & RCS_CREATE is used in rcs_statfile(), flags is now a
global variable.
- RCS_[ENT]FLAG -> RCSPROG_[ENT]FLAG
- Call rcs_set_description() if -t flag is given or if RCS_CREATE is
set, checked in that order. If the -t flag is given and RCS_CREATE
is set, don't call rcs_set_description() twice.
``commitski!!'' xsa@
|
|
|
|
``that makes sense'' xsa@
|
|
|