Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
commited needs to be updated or merged first.
|
|
|
|
this for the past 2 weeks now and it should go in at
the start of the hackathon so others can help out.
this code is a lot safer, smarter, faster and best of
all it is actually doing what it is suppose to do!
basic checkout, update, status, diff and commit are
working in local mode only.
there is no support for any remote setups now.
|
|
no binary change; ok ray
|
|
ok niallo@
|
|
|
|
|
|
makes the code a lot more readable and understandable.
ok xsa@ and niallo@
|
|
|
|
|
|
time ago, but we were being held back by jfb. too bad for him.
next step is to use fatal() through out the code for unrecoverable
errors instead of trying to be all nice and fluffy and reach main() again.
ok niallo@ and xsa@
|
|
|
|
|
|
a mess and not clean.
this code is much cleaner, faster, and uses less memory overall.
tested by xsa@, brad@, Michael Knudsen, and myself.
okay xsa@
|
|
construction of the log message in the editor.
ok jfb@
|
|
CVS_FILE_NAME macro. This macro used to be nifty because of all
the referencing for the names, but since we don't do that anymore and
use cf_name directly... byebye CVS_FILE_NAME()
okay xsa@
|
|
|
|
|
|
ok jfb@ (Yes, Yes he IS back!!)
|