summaryrefslogtreecommitdiff
path: root/lisp/vc.el
Commit message (Collapse)AuthorAgeFilesLines
* Use defgroup and defcustom.Richard M. Stallman1997-05-051-39/+107
| | | | Doc fixes.
* (vc-update-change-log): Run `rcs2log' in the correctRichard M. Stallman1997-04-121-16/+35
| | | | | directory when ChangeLog is found elsewhere. Display any error output from rcs2log.
* (vc-checkin-hook): Doc fix.Richard M. Stallman1997-04-011-1/+13
| | | | | (vc-before-checkin-hook): New hook. (vc-start-entry): Use it.
* (vc-next-action-on-file): With implicit checkout, makeRichard M. Stallman1997-03-211-2/+6
| | | | sure not to lose unsaved changes.
* (vc-backend-diff): Handle RCS and SCCS separately.André Spiegel1997-03-041-30/+29
|
* (vc-log-mode): New optional arg FILE. Set vc-log-file here.Karl Heuer1997-02-271-4/+4
| | | | | (vc-start-entry): Not here. (vc-finish-logentry): Run vc-finish-logentry-hook.
* (vc-do-command): If OKSTATUS is nil, ignore errors.Richard M. Stallman1997-02-101-2/+3
| | | | (vc-backend-release): For RCS, pass nil for OKSTATUS.
* Changed my e-mail address in the header.André Spiegel1997-01-031-6/+4
|
* (vc-next-action-on-file, vc-update-change-log,André Spiegel1996-12-261-11/+7
| | | | | | | | vc-backend-checkout, vc-backend-steal): Use `vc-user-login-name' instead of `user-login-name'. (vc-update-change-log): If `user-full-name' is nil, try `user-login-name'. Failing that, use uid as a string. (vc-make-buffer-writable-hook): Removed (was unused).
* Use w32 instead of ms-windows for window-system symbolGeoff Voelker1996-11-191-1/+1
|
* (vc-backend-print-log): Use "cvs log" to get log entries, not "cvs rlog".Richard M. Stallman1996-11-071-1/+1
|
* (vc-dired-reformat-line): Discard check for numerical value ofAndré Spiegel1996-10-171-1/+0
| | | | vc-locking-user.
* (vc-print-log): Set the display window so that it showsAndré Spiegel1996-09-161-8/+31
| | | | the current log entry completely.
* (vc-print-log): Move point to the log entry of the current version.André Spiegel1996-09-081-0/+9
|
* (vc-register-switches): New variable.Richard M. Stallman1996-09-011-20/+29
| | | | (vc-backend-admin): Use vc-register-switches.
* (vc-update-change-log): Doc fix.Richard M. Stallman1996-08-301-3/+8
|
* (vc-update-change-log): Remove code which found RCS filesRichard M. Stallman1996-08-291-26/+23
| | | | | | only in RCS directory; leave this to rcs2log, which will find entries for CVS or RCS/*,v and *,v. Lose sub-process' stderr output. Doc fix.
* (vc-do-command): Bind win32-quote-process-args.Richard M. Stallman1996-07-261-1/+2
|
* (vc-cancel-version): Fix paren error.Richard M. Stallman1996-06-051-2/+2
|
* (vc-rename-file): After renaming, update VC info and modeline.Richard M. Stallman1996-05-131-1/+4
| | | | Preserve buffer-read-only.
* (vc-comment-ring): Initialise using make-ring.Richard M. Stallman1996-04-161-4/+2
| | | | | (vc-clear-context): Initialise vc-comment-ring using make-ring. (vc-finish-logentry): Don't initialise vc-comment-ring here.
* (vc-update-change-log): Use add-log-full-name andRichard M. Stallman1996-03-221-6/+4
| | | | add-log-mailing-address only if non-nil.
* Comment change.Richard M. Stallman1996-03-021-1/+1
|
* (vc-diff): Make NOT-URGENT default to t.Richard M. Stallman1996-01-261-1/+1
|
* * vc.el (vc-backend-checkout): Use let to restore default-directory.Karl Heuer1996-01-241-140/+144
| | | | (vc-next-action-dired): Likewise.
* Update FSF's address.Erik Naggum1996-01-141-2/+3
|
* (vc-cancel-version): Use search-forward to scan error message. AddedAndré Spiegel1996-01-101-1/+7
| | | | comments.
* (vc-update-change-log): Use add-log-full-name andKarl Heuer1996-01-081-3/+9
| | | | add-log-mailing-address if they are defined.
* Comment fixes.Karl Heuer1996-01-051-3/+3
|
* (vc-cancel-version): Handle versions that start a new branch.André Spiegel1996-01-041-55/+92
| | | | | | (vc-backend-checkout): SCCS case: handle empty revision number. (vc-diff): Don't pop to the *vc-diff* buffer if file is unchanged. Better doc strings for a few variables.
* (vc-backend-checkin): Use vc-checkin-switches.Erik Naggum1995-12-291-3/+3
|
* (vc-revert-buffer1): Pass t as preserve-modes to revert-buffer.Richard M. Stallman1995-12-251-35/+36
|
* Fix error message style.Richard M. Stallman1995-12-251-102/+110
| | | | | (vc-backend-checkout, vc-backend-checkin): Allow vc-checkin-switches to be a string.
* (vc-directory): Require dired.Richard M. Stallman1995-11-131-2/+4
| | | | (vc-revert-buffer): Ignore vc-suppress-confirm.
* (vc-backend-diff): Use new variable vc-rcsdiff-knows-brief.André Spiegel1995-11-021-8/+14
|
* (vc-next-action-on-file): When locking the latest trunk version,André Spiegel1995-10-041-1/+3
| | | | use empty version number.
* (vc-dired-mode): Now a major mode derived from dired-mode.André Spiegel1995-09-081-52/+62
| | | | | | | | | | (vc-directory): Take DIRNAME as an argument. Ask for it in the minibuffer. Don't kill pre-existing vc-dired buffers (dired now re-uses the right one). (vc-file-tree-walk): New argument DIRNAME. Updated all callers. (vc-dired-update): New function. `g' in vc-dired-mode calls it. (vc-dired-reformat-line): Handle different ls -l formats.
* (vc-dired-update-line): Don't use dired-do-redisplay.André Spiegel1995-08-291-38/+62
| | | | | | | | | | | | (vc-next-action-dired): Adjust default-directory before calling vc-next-action-on-file. (vc-next-action-on-file): Handle CVS merge in vc-dired-mode correctly. (vc-next-action): Ask for a check-in comment if there are "added" CVS files. Don't special-case single files in vc-dired-mode. (vc-file-clear-masterprops): Typo fix. (vc-latest-on-branch-p): Always true for CVS. (vc-directory): Header change. Do display the buffer, even if no locked/registered files were found.
* (vc-directory): Kill existing vc-dired buffers for this directory.André Spiegel1995-08-251-83/+231
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide a better header. Corrected the check whether any files were found at all (don't display a listing in this case). Under CVS, display cvs-status rather than vc-locking-user. (vc-next-action-on-file): When doing a check-in in vc-dired-mode, find the file in another window. (vc-next-action-dired): Update dired listing while processing the files. (vc-next-action): Check whether a check-in comment is really needed for this mass operation. (vc-checkout): Resynch the buffer, even if it's not current. (vc-dired-state-info, vc-dired-update-line): New functions. (vc-dired-prefix-map): Added local definition for `g' and `='. (vc-dired-reformat-line): Simplified. Erase the hardlink count from the listing, because it doesn't relate to version control. (vc-rcs-release, vc-cvs-release, vc-sccs-release): New variables, may be set by the user. (vc-backend-release, vc-release-greater-or-equal, vc-backend-release-p): New Functions. (vc-do-command): Allow FILE to be nil. (vc-backend-checkin): When creating a branch, don't bother to unlock the old version if this is RCS 5.6.2 or higher. (vc-next-action-on-file): Allow lock-stealing only if RCS 5.6.2 or higher. (vc-backend-admin, vc-backend-checkin): If available, use ci -i and -j. Updated Developer's Notes.
* Removed the comment that said we assume strict locking.André Spiegel1995-08-221-3/+2
| | | | | (vc-next-action-dired): Don't switch to vc-parent-buffer, because that was already done.
* (vc-latest-on-branch-p): Under CVS, handle the case when the file isAndré Spiegel1995-08-211-11/+21
| | | | | | | added, but not yet committed. (vc-backend-checkout): RCS case: In non-strict locking mode, force to overwrite the writable workfile. CVS case: Do the right thing in CVSREAD-mode.
* (file-regular-p-18): Fix test for whether to use this.Richard M. Stallman1995-08-201-1/+1
|
* (vc-next-action-on-file): Changed doc string, CVS case.André Spiegel1995-08-181-78/+84
| | | | | | | | | | | | | | | | | | | (vc-backend-checkin): Clear master properties before doing the check-in. In the CVS case, catch error and display an appropriate message in the echo area. (vc-backend-revert): Clear master properties, because some might get outdated by the operation. (vc-backend-merge-news): Scan the output of "cvs update" and find out whether conflicts have occurred. (vc-finish-logentry): Delete the *VC-log* buffer *before* doing the actual check-in. That leads to a better display in case the check-in fails. (vc-latest-on-branch-p): Defined it for CVS in the obvious way. (vc-next-action-on-file): Removed special CVS cases. At this level, CVS is now mostly handled like the other backends. (vc-backend-checkout): CVS case: Clear sticky tag as default when doing a verbose checkout. (This used to be done in vc-next-action-on-file.)
* (vc-next-action-on-file): Moved the setting of the default branch toAndré Spiegel1995-08-171-12/+21
| | | | | | vc-backend-checkout, where it belongs. (vc-backend-checkout): If an explicit version was specified, adjust the default branch accordingly.
* Changed references to vc-top-version into vc-master-workfile-version.André Spiegel1995-08-171-2/+3
|
* (vc-next-action-on-file): Query when trying to lock non-latestAndré Spiegel1995-08-171-1/+9
| | | | version.
* (vc-revert-buffer1): Split part of the function into vc-buffer-contextAndré Spiegel1995-08-171-34/+101
| | | | | | | | | | | | | | | | and vc-restore-buffer-context, so we can use it also in other circumstances. (vc-buffer-context, vc-restore-buffer-context): New functions. (vc-clear-headers): New function, uses the above. (vc-cancel-version): When `norevert', locks the most recent remaining version. Also, refuse to work on anything but the latest version of a branch. Removed the check whether the version is the user's, because that is difficult to decide, now that multiple branches are possible. (vc-latest-on-branch-p): New function. (vc-head-version): New access function to the already existing property. (vc-trunk-p, vc-branch-part): Functions moved before first use.
* (vc-dired-reformat-line): Display eight character user names correctly.Richard M. Stallman1995-08-101-1/+1
|
* (vc-revert-buffer): In a dedicated solitary window,Richard M. Stallman1995-08-081-2/+8
| | | | make the frame invisible instead of trying to delete window.
* (vc-resynch-buffer): New function.Richard M. Stallman1995-07-291-18/+41
| | | | | | | | | | | (vc-locked-example): Renamed to vc-snapshot-precondition. It now also checks whether any of the files are visited. (vc-retrieve-snapshot): If any files are visited, ask whether to revert their buffers. Use vc-backend-checkout and vc-resynch-buffer to do that, instead of vc-checkout. (vc-backend-checkout): Adjust default-directory so that the checked-out file goes to the right place.