| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
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@
|
| |
|
|
|
|
| |
OK xsa@
|
| |
|
|
|
|
|
|
|
| |
just use the previous suffixes. Since all slashes were replaced
with NULs, reading `suffixes' will give the first extension.
OK xsa@
|
|
|
|
| |
OK xsa@
|
| |
|
|
|
|
|
|
|
| |
void
sighdlr(int sig)
OK niallo@
|
|
|
|
| |
Okay xsa@
|
|
|
|
| |
``OK niallo@'' niallo@
|
|
|
|
| |
ok xsa and niallo
|
|
|
|
| |
ok joris
|
|
|
|
|
|
| |
contains the letters `RCS'.
ok niallo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
time. I rewrote checkin_choose_rcsfile() to handle it using these rules:
- If a directory structure is given (ci -x,abcd dir/dir2/file) then all
RCS files are under dir/dir2.
- If the RCS/ directory exists, use it. Otherwise use current directory.
- If the -x flag is specified, use those slash-separated extensions.
Otherwise, use the default (",v/").
- Look in the rcs directory (RCS/ or current directory) for a file
with a matching extension, for each extension. Each extension is
tried in order. If a file exists, it is used. If no file exists
with any extension, the first one is used.
- The empty extension is treated as no extension, because I can't
figure out what its special meaning is.
It sounds complicated, and the code is kinda complicated as well, but it
makes sense if you think about it.
ok niallo
|
|
|
|
|
|
|
| |
the last comma, assuming that it is a `,v' extension. GNU RCS does
not do this. This removes that check.
ok niallo
|
|
|
|
| |
okidoki niallo@
|
|
|
|
|
|
|
| |
rcs_set_rev() to get the GNU-like behaviour for ci -l0, ci -u0 etc
(admittedly its weird behaviour...but hey, we should support it)
ok joris@
|
|
|
|
|
|
| |
and remove them in case it gets interrupted.
suggested by deraadt@, ok niallo@
|
| |
|
| |
|
|
|
|
| |
ok niallo xsa
|
| |
|