summaryrefslogtreecommitdiff
path: root/lisp/vc/vc-sccs.el
Commit message (Collapse)AuthorAgeFilesLines
* Remove the P/N/M-p/M-n bindings from the general log-view mapLars Ingebrigtsen2022-05-061-0/+9
| | | | | | | | | * lisp/vc/log-view.el (log-view-mode-map): Remove the P/N/M-p/M-n bindings (that are only usable in some VCs). * lisp/vc/vc-sccs.el (vc-sccs-log-view-mode): * lisp/vc/vc-rcs.el (vc-rcs-log-view-mode): * lisp/vc/vc-cvs.el (vc-cvs-log-view-mode): New modes that bind the P/N/M-p/M-n commands (bug#14531).
* Merge from origin/emacs-28Eli Zaretskii2022-04-161-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | d53c999b4a Further vcs-cvs/rcs-responsible-p updates from master dc3d1628ec ; * src/sysdep.c: Fix mistake in previous commit 855e15dbf1 Fix builds on older versions of macOS 9da744e450 Fix documentation of Outline minor mode options a8bb12ab05 Improve discoverability of 'insert-directory-program' 3f166bdf44 ; * etc/PROBLEMS: Describe MS-Windows issues with fonts. ... 803ac857ee Fix cursor motion under truncate-lines with Flymake fringe... # Conflicts: # etc/PROBLEMS # lisp/outline.el # src/sysdep.c
| * Further vcs-cvs/rcs-responsible-p updates from masterLars Ingebrigtsen2022-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/vc/vc-bzr.el (vc-bzr-responsible-p): * lisp/vc/vc-sccs.el (vc-sccs-responsible-p): * lisp/vc/vc-dav.el (vc-dav-responsible-p): Update doc string. * lisp/vc/vc-rcs.el (vc-rcs-responsible-p): * lisp/vc/vc-cvs.el (vc-cvs-responsible-p): Further fixes from master. * lisp/vc/vc-src.el (vc-src-responsible-p): Return the directory. * lisp/vc/vc.el: Update comments.
| * Make all vc-*-responsible-p functions return a stringLars Ingebrigtsen2022-04-141-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/vc/vc-sccs.el (vc-sccs-responsible-p): * lisp/vc/vc-rcs.el (vc-rcs-responsible-p): * lisp/vc/vc-dav.el (vc-dav-responsible-p): * lisp/vc/vc-cvs.el (vc-cvs-responsible-p): Return a file name instead of t when we get a match (which is what vc-backend-for-registration expects) (bug#51800). This fixes the regression reported in bug#54935. Do not merge to master.
* | Merge from origin/emacs-28Eli Zaretskii2022-01-011-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 836be7a112 ; * etc/refcards/ru-refcard.tex: Update Copyright year. 86cbc6ee4a * lisp/net/tramp-sh.el: Adapt copyright year ebe8772f65 ; Minor fixes related to copyright years 23c1ee6989 ; * test/manual/etags/ETAGS.good_N: Adjust to copyright ye... 8d3fc7ec89 * src/xfaces.c (face_for_font): Make 'hash' be uintptr_t. 19dcb237b5 ; Add 2022 to copyright years. # Conflicts: # etc/NEWS # etc/refcards/ru-refcard.tex # lib/cdefs.h # lisp/erc/erc-dcc.el # lisp/erc/erc-imenu.el # lisp/erc/erc-replace.el # lisp/image-dired.el # lisp/progmodes/xref.el # m4/alloca.m4 # m4/byteswap.m4 # m4/errno_h.m4 # m4/getopt.m4 # m4/gnulib-common.m4 # m4/inttypes.m4 # m4/stddef_h.m4 # m4/stdint.m4 # m4/sys_socket_h.m4
| * ; Add 2022 to copyright years.Eli Zaretskii2022-01-011-1/+1
| |
* | Fix previous -responsible-p changeLars Ingebrigtsen2021-11-141-1/+1
| | | | | | | | | | | | | | * lisp/vc/vc-sccs.el (vc-sccs-responsible-p): * lisp/vc/vc-rcs.el (vc-rcs-responsible-p): * lisp/vc/vc-cvs.el (vc-cvs-responsible-p): Make the previous change work with relative file names, too.
* | Make all vc-*-responsible-p functions return a stringLars Ingebrigtsen2021-11-141-3/+7
|/ | | | | | | | | * lisp/vc/vc-sccs.el (vc-sccs-responsible-p): * lisp/vc/vc-rcs.el (vc-rcs-responsible-p): * lisp/vc/vc-dav.el (vc-dav-responsible-p): * lisp/vc/vc-cvs.el (vc-cvs-responsible-p): Return a file name instead of t when we get a match (which is what vc-backend-for-registration expects) (bug#51800).
* ; More minor docfixes found by checkdocStefan Kangas2021-09-141-3/+3
|
* lisp/vc/*.el: Use lexical-bindings in all the filesStefan Monnier2021-02-261-20/+16
| | | | | | | | | | | | | | | | | | | | | | Also remove some redundant `:group` arguments. * lisp/vc/vc.el (vc-ignore): Autoload. * lisp/vc/pcvs-util.el (cvs-every, cvs-union, cvs-map): Delete functions. * lisp/vc/cvs-status.el: Require `cl-lib` at runtime. (cvs-tree-tags-insert): Use `cl-mapcar` and `cl-every` instead. * lisp/vc/pcvs.el: Require `cl-lib` at runtime. (cvs-do-removal): Use `cl-every` instead. * lisp/vc/ediff-init.el: Require `ediff-util` (for `ediff-cleanup-mess` and `ediff-default-suspend-function`). * lisp/vc/pcvs-info.el (cvs-fileinfo<): Remove unused vars `subtypea` and `subtypeb`. * lisp/vc/vc-git.el: * lisp/vc/vc-bzr.el: Require `vc-dispatcher` at runtime for `vc-do-async-command`.
* Update copyright year to 2021Paul Eggert2021-01-011-1/+1
| | | | Run "TZ=UTC0 admin/update-copyright".
* Update copyright year to 2020Paul Eggert2020-01-011-1/+1
| | | | Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
* Allow vc-sccs-diff to work with TRAMPPeter Oliver2019-10-171-2/+2
| | | | | | | | * lisp/vc/vc-sccs.el (vc-sccs-diff): If the diff command is to be run remotely, then the temporary files it's acting on must be remote too (bug#37777). Copyright-paperwork-exempt: yes
* Update author/maintainer infoPaul Eggert2019-05-261-1/+1
| | | | | Update email addresses and fix spellings of some author and maintainer names.
* Go back to "Maintainer: emacs-devel@gnu.org"Paul Eggert2019-05-251-0/+1
| | | | | | Restore lines saying "Maintainer: emacs-devel@gnu.org" when there is no special maintainer for a file. Although this wasn't documented it was common practice and removing the lines didn't have consensus.
* Fixes for "Maintainer:" and related linesPaul Eggert2019-05-191-1/+0
| | | | | | Mostly, this just removes "Maintainer: emacs-devel@gnu.org" lines, which are not that useful. It also cleans up and regularizes a few similar lines.
* Update copyright year to 2019Paul Eggert2019-01-011-1/+1
| | | | Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
* Update copyright year to 2018Paul Eggert2018-01-011-1/+1
| | | | Run admin/update-copyright.
* Prefer HTTPS to FTP and HTTP in documentationPaul Eggert2017-09-131-1/+1
| | | | | | | | | | | | | Most of this change is to boilerplate commentary such as license URLs. This change was prompted by ftp://ftp.gnu.org's going-away party, planned for November. Change these FTP URLs to https://ftp.gnu.org instead. Make similar changes for URLs to other organizations moving away from FTP. Also, change HTTP to HTTPS for URLs to gnu.org and fsf.org when this works, as this will further help defend against man-in-the-middle attacks (for this part I omitted the MS-DOS and MS-Windows sources and the test tarballs to keep the workload down). HTTPS is not fully working to lists.gnu.org so I left those URLs alone for now.
* ; Update some Maintainer: header commentsGlenn Morris2017-06-051-1/+1
|
* Update copyright year to 2017Paul Eggert2016-12-311-1/+1
| | | | Run admin/update-copyright.
* Update copyright year to 2016Paul Eggert2016-01-011-1/+1
| | | | Run admin/update-copyright.
* Resurrect the ability to specify a revision in vc-next-actionEli Zaretskii2015-09-191-1/+2
| | | | | | | | | | | | | | | | | | | | * lisp/vc/vc-bzr.el (vc-bzr-checkin): * lisp/vc/vc-dav.el (vc-dav-checkin): * lisp/vc/vc-git.el (vc-git-checkin): * lisp/vc/vc-hg.el (vc-hg-checkin): * lisp/vc/vc-mtn.el (vc-mtn-checkin): Accept and silently ignore an additional optional argument, the revision to checkin. * lisp/vc/vc-sccs.el (vc-sccs-checkin): * lisp/vc/vc-cvs.el (vc-cvs-checkin): * lisp/vc/vc-rcs.el (vc-rcs-checkin): Allow to optionally specify a revision to checkin. * lisp/vc/vc.el (vc-next-action): Allow to optionally specify the revision when checking in files. See http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00688.html for the details.
* Fix problems found by vc-tests.elMichael Albinus2015-03-011-7/+8
| | | | | | | | | | | | | * vc/vc-hooks.el (vc-state, vc-working-revision): Use `vc-responsible-backend' in order to support unregistered files. * vc/vc-rcs.el (vc-rcs-fetch-master-state): * vc/vc-sccs.el (vc-sccs-working-revision): Handle undefined master name. * vc/vc-rcs.el (vc-rcs-unregister): Support unregistered files. * vc/vc-src.el (vc-src-working-revision): Do not return an empty string.
* Update copyright year to 2015Paul Eggert2015-01-011-1/+1
| | | | Run admin/update-copyright.
* Move VC diff ASYNC argument to the fifth positionDmitry Gutov2014-12-141-1/+1
| | | | | | | | | | | | | | | | | * lisp/vc/vc-svn.el (vc-svn-diff): * lisp/vc/vc-src.el (vc-src-diff): * lisp/vc/vc-sccs.el (vc-sccs-diff): * lisp/vc/vc-rcs.el (vc-rcs-diff): * lisp/vc/vc-mtn.el (vc-mtn-diff): * lisp/vc/vc-hg.el (vc-hg-diff): * lisp/vc/vc-git.el (vc-git-diff): * lisp/vc/vc-dav.el (vc-dav-diff): * lisp/vc/vc-cvs.el (vc-cvs-diff): * lisp/vc/vc-bzr.el (vc-bzr-diff): * lisp/obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end. * lisp/vc/vc.el (vc-diff-internal): Pass `async' argument to the backend `diff' command in the last position.
* Remove VC rollback method.Eric S. Raymond2014-12-111-16/+0
| | | | | | * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el: rrollback method removed, to be replaced in the future by uncommit.
* Righteous featurectomy of vc-keep-workfiles - always do it.Eric S. Raymond2014-12-101-8/+4
| | | | | | * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles, it's a shoot-self-in-foot archaism. Workfiles are always kept.
* In vc, abolish the dir-status method.Eric S. Raymond2014-12-021-6/+4
|
* Clean up a longstanding to-do item.Eric S. Raymond2014-12-021-13/+9
| | | | | * vc.el (vc-expand-dirs): Now takes a second BACKEND argument, improving behavior on directories using multiple file-oriented VCSEs.
* Terminate vc-disable-async-diff with extreme prejudice.Eric S. Raymond2014-12-011-1/+1
| | | | | | * vc/vc.el, and all backends: API cleanup; the backend diff method takes an explicit async flag. This eliminates a particularly ugly global.
* The vc-mistrust-permissions configuration variable is gone.Eric S. Raymond2014-12-011-23/+0
| | | | | | | | * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el: Eliminate vc-mistrust-permissions. It was only relevant to the RCS and SCCS back ends and defaulted to t. Code now always mistrusts permissions - by actual measurement the effect on performance is negligible. As a side effect bug#11490 is now irrelevant.
* API simplification: remove vc-workfile-unchanged-p from pubic methods.Eric S. Raymond2014-12-011-2/+2
| | | | | | | | | * vc/vc.el, vc-hooks.el, and all backends: API simplification; vc-workfile-unchanged-p is no longer a public method (but the RCS and SCCS back ends retain it as a private method used in state computation). This method was redundant with vc-state and usually implemented as a trivial call to same. Fixes the failure mode described in bug#694.
* VC API simplification: remove ability to set initial revision.Eric S. Raymond2014-12-011-4/+2
| | | | | | | | This hasn't made any sense since RCS, and was a dumb stunt then. * vc/vc.el and all backends: API simplification; init-revision is gone, and vc-registered functions no longer take an initial-revision argument.
* Fix up autoloads in vc-rcs.el and vc-sccs.el.Simon Leinen2014-11-261-1/+3
|
* Revert "More movement of master-related code to vc-filewise.el."Eric S. Raymond2014-11-221-2/+2
| | | | Must unbreak the build. Which is way too complicated...
* More movement of master-related code to vc-filewise.el.Eric S. Raymond2014-11-221-2/+2
| | | | Goes with my 2014-11-22 lisp/ChangeLog entry.
* Rename vc-name to vc-master-rename.Eric S. Raymond2014-11-221-22/+22
| | | | | | | * vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name. This is preaparatory to isolating all the 'master' functions used only by the file-oriented back ends. With this done first, the substantive diffs will be easier to read.
* Remove editable argument from VC's backend checkout methods.Eric S. Raymond2014-11-201-2/+2
| | | | | | | | | | | Alters vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el. where this matters (which is only in SCCS and RCS) files are now always checked out editable. This may actually have been dynamically true already - it looks like the vc-next-action code evolved past visiting the other case. Tested with RCS.
* Remove never-used rev argument from VC's backend checkin methods.Eric S. Raymond2014-11-201-2/+1
| | | | | | | | | | Alters vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el. Only the RCS, SCCS, and CVS back ends tried to do anything with it, and that code was never exercised. Chiseling away the cruft of decades...
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-011-1/+1
|
* lisp/vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.Juanma Barranquero2013-09-231-1/+1
|
* * lisp/vc/vc-dispatcher.el (vc-run-delayed): New macro.Stefan Monnier2013-09-041-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | (vc-do-command, vc-set-async-update): * lisp/vc/vc-mtn.el (vc-mtn-dir-status): * lisp/vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files) (vc-hg-pull, vc-hg-merge-branch): * lisp/vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull) (vc-git-merge-branch): * lisp/vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status) (vc-cvs-dir-status-files): * lisp/vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status) (vc-bzr-dir-status-files): * lisp/vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed. * lisp/vc/vc-annotate.el: Use lexical-binding. (vc-annotate-display-select, vc-annotate): Use vc-run-delayed. (vc-sentinel-movepoint): Declare. (vc-annotate): Don't use `goto-line'. * lisp/vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...). (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed. (vc-sentinel-movepoint): Declare. * lisp/vc/vc-svn.el: Use lexical-binding. (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed. * lisp/vc/vc-sccs.el: * lisp/vc/vc-rcs.el: Use lexical-binding.
* Silence the rest of vc compilationGlenn Morris2013-05-281-0/+12
| | | | | | | | | | | | | | | | | * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff, vc-resynch-buffer): Declare. (vc-switches, vc-default-revert, vc-version-backup-file): Autoload. * vc/vc-git.el (vc-exec-after, vc-set-async-update, grep-read-regexp) (grep-read-files, grep-expand-template, vc-dir-refresh): Declare. (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload. * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare. (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload. * vc/vc-sccs.el (vc-file-tree-walk): Declare. (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify) (vc-tag-precondition, vc-rename-master): Autoload.
* Doc fixes related to vc-print-logGlenn Morris2013-04-241-1/+2
| | | | | | | | | | | | * vc/vc-bzr.el (vc-bzr-print-log): * vc/vc-cvs.el (vc-cvs-print-log): * vc/vc-git.el (vc-git-print-log): * vc/vc-hg.el (vc-hg-print-log): * vc/vc-mtn.el (vc-mtn-print-log): * vc/vc-rcs.el (vc-rcs-print-log): * vc/vc-sccs.el (vc-sccs-print-log): * vc/vc-svn.el (vc-svn-print-log): * vc/vc.el (vc-print-log-internal): Doc fixes.
* Update copyright notices for 2013.Paul Eggert2013-01-011-1/+1
|
* Comment fixGlenn Morris2012-09-291-2/+2
|
* Remove duplication of vc-sccs-registered definitionGlenn Morris2012-09-291-7/+6
| | | | | | * lisp/vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get the full definition in loaddefs, rather than duplicating it. Cf vc-rcs-registered.
* Comment for vc-sccsGlenn Morris2012-09-291-0/+3
|
* Revert bogus vc autoloads changeGlenn Morris2012-09-291-1/+2
|