Age | Commit message (Collapse) | Author |
|
to CVSROOT/history but cannot parse it yet with the 'history' command.
"Commit it." ray@
|
|
cvs co -rOPENBSD_3_0 works now.
along the way, simplify and rationalise code and fix a few nits.
ok joris@ xsa@ ray@
|
|
|
|
in the old school days and serves no purpose what so ever now.
otto@ mentioned this to me a while ago
|
|
ok jorix@ xsa@
|
|
|
|
- do not let the file keyword expension options (-k) disappear
from the Entries file when doing a commit/update/checkout
- be sure the expension mode gets written to the RCS file when a file
is added/committed in the first place
problems raised by otto@; tests/ok otto@ and joris@.
|
|
|
|
|
|
so that we do keyword expansion on-the-fly if required instead
of obtaining the revision in memory first, running over the revision
lines while expanding keywords and only then writing them to the fd
or memory buffer.
this drasticly decreases cpu usage by opencvs on very large trees (like src).
OK niallo@
|
|
kay niallo@
|
|
|
|
no longer be used, ever.
|
|
in some places and much
reduced memory usage. note that only checkout has been fully converted to use the new high-performance
functions. other codepaths (e.g. update) still use the old method which is provided for backwards
compatibility. we can convert the remaining slow bits over to the new api piece-by-piece.
"commit this, now" joris@
brad@ tested, too.
|
|
ok niallo@
|
|
|
|
adding/importing binary files now works too
partially taken from openrcs
|
|
ok joris@
|
|
do not connect to the remote server until we are sure all the options
passed to the commands are valid.
noticed by xsa@
|
|
|
|
after we obtain our logmessage.
|
|
enter a logmessage into your favorite editor when commiting.
|
|
testing appriciated, as always.
|
|
with an 'Updated' response, seeing as the client will already have the
latest version. Instead, send the correct 'Checked-in' response.
|
|
- when commiting in a remote setup, allow the opencvs server to send
the correct response to the client when a file has been removed
|
|
|
|
always set the temporary file to mode 600, which is already done
by mkstemp().
OK joris@ and xsa@ over a month ago.
|
|
although i advise against using it on real development trees for now.
only a few commands work right so far:
- commit
- diff
- status
- log
- update (partially working)
if you feel like testing remote and run into bugs feel free to
contact me, and please include a full trace (-t).
|
|
- do not try to attempt to check for conflict markers when the file is not on disk.
found by and okay reyk@
|
|
in bp, considering we depend on that.
found by reyk who is now my favorite german person, 10x.
|
|
has been specified.
ok joris@
|
|
file is not present for the file.
spotted and tested by reyk@
okay xsa@
|
|
we let the commands pass the correct function.
all in preparation for remote.
|
|
|
|
except it takes a decriptor as argument instead of a path.
modified cvs_buf_load() to open the descriptor then pass
it to cvs_buf_load_fd().
change all the calls to cvs_buf_load() that have a descriptor
open for the path to cvs_buf_load_fd() to prevent races.
|
|
this a conflict and block the commit when we encounter any of these.
and make an error message a bit more fluffy and accurate.
|
|
- add: creates <name>,t file with initial description if -m option was used.
- commit: uses <name>,t content (if it exists) to set the file description
OK joris@.
|
|
|
|
|
|
- rework rcs_getrev() to correctly support branches
- rework rcs_translate_tag() to correctly translate given symbols or
branches into their matching revisions
- rework rcs_rev_add() to correctly update its 'next' pointers
and insert the new revision in the correct place on the list.
- rework rcs_head_get() to return the latest revision on the default
branch if it has been set or the normal HEAD revision otherwise.
- no longer access the rf_head member of the RCSFILE struct manually,
use the rcs_head_get() function which correctly returns the HEAD
revision, there might be a default branch that has to be used.
- for now, when commiting a new revision reset the default branch.
|
|
deltatext (the dead revision) to the correct rcs diff if the file
was modified in any way.
|
|
|
|
for each cvs_file struct, this will help us with sticky tags,
commiting to branches and importing into existing repositories.
|
|
into the Attic and out of our way.
|
|
|
|
if the commands want to output certain stuff themselfs
|
|
opencvs can now commit modified files, removed files and added files.
hip hip hurray!
|
|
has been modified by yourself and there is a newer revision
we try and merge them together.
if the merge fails and has conflicts it will mark them inside
the file, you will need to resolve these by hand first before
you will be able to commit your modified file.
works transparent with gnu cvs, as it is suppose to.
|
|
|
|
specified certain commands will not recurse into directories.
at the same time introduce a method of specifying wether or not
a command should look in the repository for files.
|