summaryrefslogtreecommitdiff
path: root/lisp/vc-hooks.el
Commit message (Collapse)AuthorAgeFilesLines
* * vc-arch.el (vc-arch-extra-menu-map): New var and fun.Dan Nicolaescu2007-09-181-30/+63
| | | | | | | | | | | | | | | * vc-hooks.el (vc-menu-entry): New var. (vc-mode-line-map): Use it so that this menu also uses the extra-menu. (menu-bar-tools-menu): Add the VC menu here rather than in menu-bar.el. (vc-menu-map): Declare and initialize in one step. * menu-bar.el (vc-menu-map): Don't setup any more. Instead, just create the proper spot in the menu. * vc.el: Document new VC operation `extra-menu'. * vc-hooks.el (vc-default-extra-menu, vc-menu-map-filter): New function.
* (vc-handled-backends): Add Mtn.Stefan Monnier2007-09-141-1/+1
|
* Add vc-mtn.el.Stefan Monnier2007-09-141-3/+4
|
* (vc-default-find-file-not-found-hook): Do nothing.Stefan Monnier2007-08-091-7/+3
|
* Change capitalization of VC backend names for new backendsMiles Bader2007-08-031-3/+3
| | | | Revision: emacs@sv.gnu.org/emacs--rel--22--patch-87
* (vc-find-file-hook): Failsafe if the backend's `registered' function burps.Stefan Monnier2007-07-311-1/+1
|
* * vc-bzr.el: New file (copied from the trunk).Stefan Monnier2007-07-311-1/+1
| | | | * vc-hooks.el (vc-handled-backends): Add BZR.
* * vc-git.el: (vc-directory-exclusion-list, vc-handled-backends):Dan Nicolaescu2007-07-301-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove. (vc-git-revision-completion-table): Enable. * vc-hooks.el (vc-handled-backends): Add GIT and HG. * vc.el (vc-directory-exclusion-list): Add .git and .hg. * vc-hg.el (vc-hg-revision-completion-table): Re-enable. * diff-mode.el (diff-mode-menu): New entries. * diff-mode.el (diff-beginning-of-file-and-junk): New function. (diff-file-kill): Use it. (diff-beginning-of-hunk): Add arg `try-harder' using it. (diff-restrict-view, diff-find-source-location, diff-refine-hunk): Use it so they find the hunk even when we're in the file header. * vc.el: Add new VC operation `revision-completion-table'. (vc-default-revision-completion-table): New function. (vc-version-diff, vc-version-other-window): Use it to provide completion of revision names if the backend provides it. * vc-arch.el (vc-arch--version-completion-table) (vc-arch-revision-completion-table): New functions to provide completion of revision names. * vc-cvs.el: Require CL. (vc-cvs-revision-table, vc-cvs-revision-completion-table): New functions to provide completion of revision names. * eval.c (init_eval_once): Bump max_lisp_eval_depth to 400. * vc2-xtra.texi (Customizing VC): Add GIT and HG.
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* (vc-find-root): Walk up the tree to find an existingStefan Monnier2007-07-231-11/+14
| | | | | `file' from which to start the search and fix case where `file' is the current directory and the root as well.
* lisp/vc-hooks.el (vc-find-root): Fix file attribute testMiles Bader2007-05-251-1/+1
| | | | Revision: emacs@sv.gnu.org/emacs--rel--22--patch-27
* Sync change from trunk at request of rms in FOR-RELEASE:Glenn Morris2007-05-171-1/+8
| | | | | | Stefan Monnier <monnier at iro.umontreal.ca> (vc-find-root): Stop searching when the user changes.
* (vc-ignore-dir-regexp): Add /.../ for the DFS filesystem.Stefan Monnier2007-04-281-1/+3
|
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* (vc-version-backup-file-name): Revision names may beStefan Monnier2006-12-271-2/+3
| | | | composed of arbitrary characters (even /) in some systems.
* Update copyright years.Glenn Morris2006-12-051-2/+2
|
* (vc-ignore-dir-regexp): Make it into a defcustom.Stefan Monnier2006-10-131-3/+8
| | | | (vc-find-root): Don't walk higher up than ~.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* (vc-user-login-name): Rewritten to handle access via Tramp.André Spiegel2006-01-251-8/+16
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-2/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (vc-workfile-unchanged-p): Disable mtime check when we go via Tramp orAndré Spiegel2005-04-011-1/+3
| | | | Ange-FTP. Suggested by Kai Grossjohann.
* Change release version from 21.4 to 22.1 throughout.Kim F. Storm2005-02-091-2/+2
| | | | Change development version from 21.3.50 to 22.0.50.
* (vc-make-version-backup): Ignore file-errors, e.g. directory notAndré Spiegel2005-02-071-2/+9
| | | | writable.
* (vc-recompute-state): Moved here from vc.el.André Spiegel2004-11-301-0/+6
|
* (vc-find-file-hook): Call vc-backend with absolute name.Stefan Monnier2004-10-161-2/+2
|
* (vc-ignore-dir-regexp): New var.Stefan Monnier2004-09-131-9/+31
| | | | | (vc-registered): Use it. (vc-find-root): New fun.
* (vc-default-workfile-unchanged-p): Fix code that handlesJuanma Barranquero2004-04-231-5/+5
| | | | wrong-number-of-arguments in backend call.
* (vc-default-workfile-unchanged-p): Quote signal.André Spiegel2004-04-161-2/+2
|
* (vc-arg-list): Function removed.André Spiegel2004-04-111-14/+13
| | | | | (vc-default-workfile-unchanged-p): Use condition-case to check for backward compatibility.
* (vc-file-not-found-hook): Fix typo. From lorentey@elte.hu (L?rentey K�ly).Stefan Monnier2004-03-281-2/+2
|
* (vc-arg-list): New function, which handles both compiled andAndré Spiegel2004-03-261-10/+16
| | | | | uncompiled code. (vc-default-workfile-unchanged-p): Use it.
* (vc-default-find-file-not-found-hook): New fun.Stefan Monnier2004-03-231-9/+12
| | | | (vc-file-not-found-hook): Use it.
* (vc-default-workfile-unchanged-p): If the implementation supports it,André Spiegel2004-03-211-3/+10
| | | | | let diff output go to *vc*, not *vc-diff*, since this is an internal call.
* (vc-handled-backends): Add Arch. Move MCVS down.Stefan Monnier2004-03-151-4/+10
| | | | | (vc-default-find-file-hook): New fun. (vc-find-file-hook): Call new find-file-hook operation.
* Add arch taglinesMiles Bader2003-09-011-1/+2
|
* (vc-make-version-backup): Fix the change made onEli Zaretskii2003-08-301-2/+2
| | | | 2003-07-26: msdos-long-file-names is a function, not a variable.
* (vc-ignore-vc-files, vc-master-templates): Doc fix - quote lisp symbols.Markus Rost2003-08-231-3/+3
|
* (vc-ignore-vc-files, vc-master-templates): Better explain obsolescence, andAndré Spiegel2003-08-231-3/+9
| | | | what to use instead.
* (vc-file-not-found-hook): Brr. Improve last doc fix.Markus Rost2003-07-261-2/+2
|
* (vc-file-not-found-hook): Doc fix.Markus Rost2003-07-261-2/+2
|
* (vc-default-registered, vc-make-version-backup): Use with-no-warnings.André Spiegel2003-07-261-4/+5
| | | | | (vc-file-not-found-hook): Add this to find-file-not-found-functions, rather than to find-file-not-found-hook, which doesn't exist.
* (vc-stay-local, vc-stay-local-p): Move from vc.el.Stefan Monnier2003-07-061-1/+50
|
* (vc-make-backup-files): Add :group backup.Dave Love2003-06-051-2/+3
|
* (vc-call-backend): Give better error message when backend function is missing.Stefan Monnier2003-05-311-36/+38
| | | | (vc-find-file-hook): USe unless. Merge if and cond.
* (vc-default-workfile-unchanged-p): Pass nilStefan Monnier2003-05-081-5/+12
| | | | rather than (vc-workfile-version file) to diff.
* (find-file-hook, find-file-not-found-hook): Don't use the old ...-hooks.Stefan Monnier2003-05-071-5/+5
|
* Consistently use buffer-file-name variable rather than function.Stefan Monnier2003-05-071-30/+31
| | | | | (vc-handled-backends): Add SVN and MCVS. (vc-mode-line): Call vc-backend only once.
* (vc-ignore-vc-files, vc-master-templates, vc-header-alist): Add obsolescenceJuanma Barranquero2003-02-051-4/+7
| | | | declaration and remove redundant info from docstring.
* (vc-insert-file): Fix typo.Juanma Barranquero2002-10-171-8/+8
|