summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/cvs.h
AgeCommit message (Collapse)Author
2008-06-27Simply the version string and nuke unecessary variables used to build it.Xavier Santolaria
ok joris
2008-06-27Bump version; we're not going to stay with 1.0 forever.Xavier Santolaria
ok joris
2008-06-17unused varsJoris Vink
2008-06-15Support the addition of new files in branches.Tobias Stoeckmann
ok joris
2008-06-14Added support for sticky date set in CVS/Tag and CVS/Entries per directory.Tobias Stoeckmann
ok joris
2008-06-10New trigger framework that allows us to run the required scriptsJoris Vink
defined in CVSROOT/commitinfo and CVSROOT/loginfo and so on. This enables the use of log_accum2 and all that other nice stuff we like. This was mostly written by Jonathan Armani with help from tobias@ and myself. ok tobias@
2008-06-08Handle commits on a per-directory basis instead handling all of them atTobias Stoeckmann
once in local setup. Also added '!' to reuse typed log message for all following directories. ok joris
2008-05-28Don't limit ourselfs when it comes to arguments on command line orTobias Stoeckmann
arguments sent by client. ok joris
2008-03-09proper repository locking:Joris Vink
- all read operations now look for a lock, and wait if present but never try to lock the tree themselfs anymore. - all write operations lock the tree where needed. - commit locks all relevant directories before even attempting to start.
2008-03-08add checkout/update -j support.Joris Vink
still has some rough edges.
2008-03-01spacingTheo de Raadt
2008-02-10+ #define CVS_DATE_FMT "%Y.%m.%d.%H.%M.%S"Xavier Santolaria
...and use it.
2008-02-10fix ce_date declarationJoris Vink
2008-02-10parse any date tags set in CVS/Tag or CVS/Entries properly, and useJoris Vink
them for commands; with tobias@
2008-02-09Introduce cvs_ent_line_str() - formats CVS/Entries lines.Xavier Santolaria
OK tobias@.
2008-02-09remote improvements:Joris Vink
- make sure the client creates the correct CVS/Repository when running checkout if there was no -d targetdir specified. - allow -D to work remotely for both checkout and update.
2008-02-09Get in proper support for checkout/update -A when it comes to keywordTobias Stoeckmann
expansion options. OK joris@
2008-02-09Get in initial support for checkout -D. Works fine with -r support rightTobias Stoeckmann
now. OK joris@
2008-02-04Stripped off 'nb', which was (or was supposed to be) used to distinguishTobias Stoeckmann
between a named branch and a revision number supplied by -r. This can be done easier in cvs_write_tagfile directly. OK joris@
2008-02-04Added -k flag support for all commands which support it.Tobias Stoeckmann
OK joris@
2008-02-03more CVSROOT/module stuff:Joris Vink
- allow more then 1 module to be specified per definition - respect the "!" sign which means: "hey ignore this dir when checking out" - non alias definitions can now contain files ok tobias@
2008-02-03better CVSROOT/module support, includes remote support and modulesJoris Vink
that are not aliases (-a); OK tobias@
2008-02-01Added rannotate supportTobias Stoeckmann
OK xsa@
2008-01-31Replaced the unused cvs_command variable cmd_req with cmd_flags, which statesTobias Stoeckmann
if the current command is supposed to use a working directory or if it is a repository-only command (as of now checkout -p, rtag, rlog). Makes the code simpler, easier to read and automagically fixes some issues we encountered with these commands (for example if a working directory exists, or "." operations are performed). OK joris@, niallo@
2008-01-10Simply the use of cmdp and cvs_command by zapping cvs_command and workingTobias Stoeckmann
solely with cmdp. This remedies some reliability issues with invalid commands supplied and also fixes a GNU cvs style incompatibility with release command. > Based on patch from Igor Zinovik
2007-09-23make sure when running update -r on existing files to overwriteJoris Vink
the sticky directory tag with it. since -r gets priority.
2007-09-22better branching/sticky tag support, no branch commits yet though.Joris Vink
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