summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2006-05-28Fix engrish, okay joris@Pedro Martelletto
2006-05-28Make Window Flags more mnemonic (and less dumb); i.e.Kjell Wooding
WFHARD -> WFFULL (Redraw full window) WFFORCE -> WFFRAME (Reframe window). No binary change
2006-05-28Remove a lot of xstrdup() calls in getopt() loops, which are usuallyRay Lai
unnecessary. These xstrdup() calls don't call xfree() before anyway, so if a flag is given multiple times memory leaks would have resulted. OK joris@
2006-05-28add a way to look if a buffer differs from another oneJoris Vink
2006-05-28make it look a little less chaotic.Joris Vink
2006-05-28teach log how to handle the revisions passed on the command line.Joris Vink
the following now works: 'opencvs log -r1.5:1.15 foobar'
2006-05-28add code which allows us to select revisions based uponJoris Vink
a string given by the user on the command line, much like rcs_revision_select in OpenRCS. this will be usefull for some commands.
2006-05-28add basic 'cvs log' support.Joris Vink
2006-05-28Move -A<oldfile> handling into separate chunk of code. This alsoRay Lai
removes a memory leak if -A is given multiple times. OK joris@
2006-05-28Don't fill in the rd_locker if we are creating a new RCS file.Ray Lai
OK joris@
2006-05-28our add command can now add directories to the repository as well.Joris Vink
2006-05-28several fixes to the file api:Joris Vink
- default to CVS_FILE when something is totally unknown - cvs_get_repository_path() now returns the full repository path for the given argument. - cvs_get_repository_name() returns the contents of CVS/Repository to the caller. - allow command callbacks to specify if our recursion code needs to skip the directory or not. - when checking for a admin directory, make sure it is in fact a directory. if it is not we dont want to recurse inside.
2006-05-28build a lint library for us to use aboveTheo de Raadt
2006-05-28warn() already prints __progname for us, okay deraadt@ hshoexer@Pedro Martelletto
2006-05-28teach opencvs about the dlimit keyword in CVSROOT/config.Joris Vink
put some trace messages in place while im here.
2006-05-28enable basic add command, only works on files right now.Joris Vink
2006-05-28add rf_dead field to RCSFILE which can tell usJoris Vink
if an RCSFILE is dead, will come in usefull later in commands.
2006-05-28if we run into a file that was suppose to be a directoryJoris Vink
or a directory that is suppose to be a file, abort right away because something bad probably happened.
2006-05-28allow commands to shut up the output from cvs_file_classifyJoris Vink
if the commands want to output certain stuff themselfs
2006-05-28Re-add '-' getopt flag, since getopt can actually handle it.Ray Lai
Requested by deraadt@.
2006-05-28teach opencvs ci how to commit files that have been added,Joris Vink
opencvs can now commit modified files, removed files and added files. hip hip hurray!
2006-05-28o KNFRay Lai
o Remove unnecessary casts o Add __dead o Remove /* NOTREACHED */ o Remove cases '?' and '-' o Use more conventional getopt(3) syntax (argc -= optind; argv += optind; right after while loop) OK deraadt@
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-27Handle crypt(3) returning NULL. Found by Gustavo C. Pereira.Moritz Jodeit
ok deraadt@
2006-05-27SRCS should refer to the .l and .c files; spotted by naddyTheo de Raadt
2006-05-27Move stderr redirection to a common location, as suggested by vincent aKjell Wooding
while ago. While here, get rid of some of the stupid static buffer sizes. I've been running with this for quite a while.
2006-05-27do not close the same entries list twice, this caused a double free;Joris Vink
2006-05-27Move mg "line to c-string" functionality to a function.Kjell Wooding
2006-05-27and now you can use -N to diff removed files tooJoris Vink
2006-05-27handle comments and leading spaces correctlyJoris Vink
in CVSROOT/config
2006-05-27allow diff to pick up newly added files with the -N flag.Joris Vink
2006-05-27more standard ignore patternJoris Vink
2006-05-27Kill upHex and use %X instead. Crazy old code found by deraadt.Claudio Jeker
2006-05-27Moving netstat from kvm snooping to retrieving the routing tables viaClaudio Jeker
sysctl. Most code is stolen from route -- which was stolen from netstat. kvm snooping code is still in and useable. Put it in deraadt@ henning@
2006-05-27lets be nice and abort cvs when we find out there isJoris Vink
no CVSROOT directory where there is suppose to be one.
2006-05-27basic support for CVSROOT/config - only supporting the 'tag' andJoris Vink
'umask' keyword right now.
2006-05-27dont forget to expand any keywords before diffing stuff,Joris Vink
otherwise we might end up with chunks that are totally wrong.
2006-05-27boogie cvs_yesno() down the removal hatch, it is not used.Joris Vink
2006-05-27support the -d flag for update.Joris Vink
if you specify -d when running update new directories will be build, otherwise they will be skipped.
2006-05-27update needs the CR_REPO flag to, otherwise it will forgetJoris Vink
about any new files or directories inside the repository
2006-05-27show which directory we are examining in our pre-commit checks.Joris Vink
2006-05-27remove debug outputJoris Vink
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-27dont allow commit to continue if the file that is beingJoris Vink
commited needs to be updated or merged first.
2006-05-27Rename RCSFILE.fd to RCSFILE.rf_fd, plus minor spacing nits. NoRay Lai
binary change. OK xsa@
2006-05-27commiting removed files now worksJoris Vink
2006-05-27use RCS_STATE_DEAD instead of plain old 'dead' when checkingJoris Vink
the RCS file its state.
2006-05-27correctly expand keywords when checking out filesJoris Vink
2006-05-27Remove rcs_statfile(). It was just a wrapper for rcs_choosefile(),Ray Lai
handling exceptions oddly. OK joris@
2006-05-27pruning (-P) support for both the update and checkout commands;Joris Vink