summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/cvs.h
AgeCommit message (Collapse)Author
2007-09-10remove my addition of portnumber for rsh in CVSROOT.Joris Vink
while it sounds like a "good" idea some people convinced me otherwise. mostly because this breaks compat with GNU cvs.
2007-09-10Allow port specification in our CVSROOT which is used for ourJoris Vink
ssh connection to our server. Example: joris@somehost.com:2222:/cvs OK tobias@
2007-09-04Removed dead code.Tobias Stoeckmann
OK joris@, ray@
2007-08-30Remove old CVSROOT caching mechanisms.Joris Vink
from Tobias Stoeckmann
2007-07-03Rework the way opencvs works in relation to files in the Attic/:Joris Vink
Previously, files in the 'Attic/' were linked into our filelist as being 'Attic/filename,v' this caused unneeded stress on certain functions like cvs_file_classify() who had to do pointer voodoo to split out the 'Attic/' part and do other very weird stuff to normalize the pathname of these files. Instead, we handle these files early in the start when we build the fileslist in cvs_repository_getdir(). When encountering the 'Attic/' directory, we recurse in it if required but instead of using the 'Attic/' directory component as our base directory we stick with the directory name where 'Attic/' resides in, resulting in the correct filename while maintaining the correct RCSpath for the file. This made the following things a lot easier: (and in most cases actually fixed the below points) - status with files in Attic/. - checking out HEAD repositories with files in Attic/. - checking out repositories with -rTAG. - updating with -rTAG. and as an added bonus the following now also works: - correctly creating CVS/Tag in both local and remote mode thus allowing update/status/and more to work correctly with the tagged tree. (thanks to the correct handling of -rTAG cases). - resetting tags with opencvs -A properly works too now. This is a major step forward into the usability of OpenCVS when it comes to maintaining multiple tagged trees, the next logical step would be to fix commiting to branches. enjoy you -stable cowards. tested by myself, xsa, niallo and ckuethe thanks guys!
2007-06-28Sync revisions and time buffers size to be consistent with each others.Xavier Santolaria
Simplifies further size tweaks if needed. OK niallo@ ray@.
2007-06-27Remove last bits about login and logout commands, which will never beXavier Santolaria
implemented anyway. OK ray@ niallo@.
2007-06-27We were missing the needed clue/magic to have our remote setupJoris Vink
handle files that have been removed from the repository correctly, which resulted in them still being in the working copy after doing an update. noticed and diff tested by ckuethe@.
2007-06-26Bring back the release command. More work to be done though.Xavier Santolaria
OK joris@ niallo@.
2007-06-18first stab at history stuff for opencvs, currently only writesJoris Vink
to CVSROOT/history but cannot parse it yet with the 'history' command. "Commit it." ray@
2007-03-22use MD5_DIGEST_STRING_LENGTH instead of rolling our own lenght.Xavier Santolaria
OK otto@ (before lock).
2007-02-22general includes cleanup sweep. ok joris@ niallo@Otto Moerbeek
2007-02-19Fix const inconsistencies, void pointer artithmetic and a few otherOtto Moerbeek
things. now gcc -Wall and lint are more happy. ok joris@ xsa@
2007-01-19move cvs_import() proto to the correct place.Xavier Santolaria
2007-01-18put functions protos at the right place.Xavier Santolaria
2007-01-17add support for remote checkout in both our client and server,Joris Vink
with this the last real dependency to actually be able to use opencvs in a remote setup has been added. based upon an initial diff from xsa@ 'kay niallo@
2007-01-13remove BUF * argument from cvs_checkout_file() it willJoris Vink
no longer be used, ever.
2007-01-12major re-work of the RCS api. this results in 100x performance improvements ↵Niall O'Higgins
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.
2007-01-12link to build the edit, editors, unedit, watch, and watchers commands.Xavier Santolaria
more work needs to be done for them though.
2007-01-07rewrite of the logmessage code, which allows you toJoris Vink
enter a logmessage into your favorite editor when commiting.
2007-01-03if we are commiting a file, do not let the server resend itJoris Vink
with an 'Updated' response, seeing as the client will already have the latest version. Instead, send the correct 'Checked-in' response.
2006-12-11Permit checkout from a read-only repository using the -R global optionXavier Santolaria
or using the CVSREADONLYFS environment variable. Request/test/ok todd@. Man page bits courtesy of jmc@.
2006-11-27client-side of the annotate command is usable, build it too.Xavier Santolaria
2006-11-14Add support for the "Set" request.Xavier Santolaria
2006-11-14add this, so version compiles...Xavier Santolaria
2006-11-13Build admin command.Xavier Santolaria
2006-11-09cvs init remote bits.Xavier Santolaria
2006-11-09fix pasto..Xavier Santolaria
2006-10-31a step ahead in opencvs add|remove remote support.Xavier Santolaria
2006-07-07first part of opencvs remote, fairly useable on existing treesJoris Vink
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).
2006-07-01implement the -p (dump) flag for cvs updateReyk Floeter
ok joris@
2006-06-19kill local and remote callback and just have one called fileproc.Joris Vink
we let the commands pass the correct function. all in preparation for remote.
2006-06-14handle existing CVS/Tag file when adding new directories. OK joris@.Xavier Santolaria
2006-06-12bring back a working version of the `cvs init' command. OK joris@.Xavier Santolaria
2006-06-03add support for update -A and update -r<rev>.Joris Vink
hacking on the plane from toronto to barbados. i will probably hack some more since im stuck in barbados for 12 lovely hours over night cause the carribean airlines dont understand the meaning over 'more than one flight a day'.
2006-05-30add CVS_PATH_ATTIC to cvs.h - this shouldve been commitedJoris Vink
with my last commit when making sure our removed file moves into the Attic;
2006-05-28enable merging on update. if your file in your working copyJoris Vink
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.
2006-05-27allow diff to pick up newly added files with the -N flag.Joris Vink
2006-05-27basic support for CVSROOT/config - only supporting the 'tag' andJoris Vink
'umask' keyword right now.
2006-05-27allow commands to respect the -l flag, if the -l flag isJoris Vink
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.
2006-05-27pruning (-P) support for both the update and checkout commands;Joris Vink
2006-05-27commit the new opencvs code, i have been hacking onJoris Vink
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.
2006-04-01fix some bugs that lint discovered for us.Joris Vink
ok niallo@
2006-03-15- add util.h, reorganising a bunch of things and exposing cvs_yesno()Niall O'Higgins
function to be used by rcs.
2006-02-10fix CVS_PATH_NOTIFY duplicate.Xavier Santolaria
2006-02-09add missing client-side paths definitions;Xavier Santolaria
2006-01-27CVS_EX_BADROOT return code is not worth keeping;Xavier Santolaria
2006-01-10zap unused variables;Xavier Santolaria
2006-01-02more includes cleanup;Xavier Santolaria
2006-01-01more code cleanup;Joris Vink
ok xsa@ i'm commiting only hours after newyear, ah the joys of being a true geek.