summaryrefslogtreecommitdiff
path: root/lisp/vc-hg.el
Commit message (Collapse)AuthorAgeFilesLines
* * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):Stefan Monnier2010-09-111-2/+6
| | | | Replace setting HGRCPATH to "" by some less invasive --config options.
* Fix hg envvar handling (Bug#5846).Chong Yidong2010-04-201-8/+9
| | | | | | * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC. (vc-hg-working-revision): Likewise. Use hg parents, not hg parent (Bug#5846).
* Fix the version number for added files.Dan Nicolaescu2010-04-171-5/+21
| | | | | * vc-hg.el (vc-hg-working-revision): Check if the file is registered after hg parent fails (Bug#5961).
* Fix to vc-hg-annotate-extract-revision-at-line (Bug#5960).Chong Yidong2010-04-161-1/+2
| | | | | * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file name relative to the project root (Bug#5960).
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* (vc-hg-working-revision): Tweak previous change.Nick Roberts2009-12-301-2/+2
|
* Show working revision correctly for mercurial.Nick Roberts2009-12-301-5/+2
| | | | | * vc-hg.el (vc-hg-working-revision): Use hg parent instead of hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>,
* (vc-hg-working-revision): Make sure the command is executed in aDan Nicolaescu2009-12-141-4/+8
| | | | known environment so that we can parse the output. (Bug#4417)
* (vc-hg-print-log): Fix argument order.Dan Nicolaescu2009-12-141-1/+1
|
* Support showing a single log entry from vc-annotate.Dan Nicolaescu2009-12-071-4/+9
| | | | | | | | | | | | | | | | | | | | * vc.el (print-log): Add a new argument: START-REVISION. (vc-print-log-internal): Add a new optional argument and pass it to the backend. (vc-print-log, vc-print-root-log): Adjust callers. * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a buffer already displays the requested log entry, use it. Otherwise display only the log entry in question. * vc-svn.el (vc-svn-print-log): * vc-mtn.el (log-view-file-re): * vc-hg.el (vc-hg-state): * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION. (vc-git-show-log-entry): Return t on success. * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION. (vc-bzr-show-log-entry): Return t on success. * vc-rcs.el (vc-rcs-print-log): * vc-sccs.el (vc-sccs-print-log): * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
* (vc-hg-diff): Fix last patch: do not change directory.Sam Steingold2009-11-181-5/+1
|
* * vc.el (vc-log-show-limit): New variable.Dan Nicolaescu2009-11-151-9/+6
| | | | | | | | | | | | | | | | | | | (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it when using a prefix argument. (vc-print-log-internal): Add new argument LIMIT. * vc-svn.el (vc-svn-print-log): * vc-mtn.el (vc-mtn-print-log): * vc-hg.el (vc-hg-print-log): * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT, pass it to the log command when set. Make the BUFFER argument non-optional. * vc-sccs.el (vc-sccs-print-log): * vc-rcs.el (vc-rcs-print-log): * vc-git.el (vc-git-print-log): * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT, ignore it. Make the BUFFER argument non-optional
* (vc-hg-state, vc-hg-working-revision): Use process-file soStefan Monnier2009-10-281-7/+8
| | | | | it works on remote files. (vc-hg-diff): Don't pass any `--cwd' argument.
* Make vc-annotate work through copies and renames.Dan Nicolaescu2009-10-191-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * vc-annotate.el (vc-annotate-extract-revision-at-line): Return the file name too. (vc-annotate-revision-at-line) (vc-annotate-find-revision-at-line) (vc-annotate-revision-previous-to-line) (vc-annotate-show-log-revision-at-line): Update to get the file name from vc-annotate-extract-revision-at-line. (vc-annotate-show-diff-revision-at-line-internal): Change the argument to mean whether to show a file diff or not. Get the file name from vc-annotate-extract-revision-at-line. (vc-annotate-show-diff-revision-at-line): Update vc-annotate-show-diff-revision-at-line call. (vc-annotate-warp-revision): Add an optional file argument. * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command. (vc-git-annotate-extract-revision-at-line): Also return the file name if found. * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate command. Remove unused code. (vc-hg-annotate-re): Update to match --follow output. (vc-hg-annotate-extract-revision-at-line): Also return the file name if found. * vc.el: Update annotate-extract-revision-at-line documentation.
* (log-view-vc-backend): Declare for compiler.Dan Nicolaescu2009-10-051-4/+12
| | | | | (vc-hg-outgoing-mode, vc-hg-incoming-mode): Set log-view-vc-backend so that diff can work.
* (vc-hg-outgoing, vc-hg-incoming): Bind `vc-short-log' for the sake of ↵Sam Steingold2009-09-221-2/+2
| | | | `vc-hg-log-view-mode'.
* (vc-hg-outgoing, vc-hg-incoming): use okstatus instead of ignore-errorsSam Steingold2009-09-221-2/+2
|
* (vc-hg-outgoing, vc-hg-incoming): Ignore errors fromSam Steingold2009-09-221-2/+2
| | | | `vc-hg-command' because hg returns status 1 when nothing is found.
* (vc-hg-print-log): Fix shortlog arg passing.Sam Steingold2009-09-221-149/+150
|
* * vc.el (top): print-log method now takes an optional SHORTLOGDan Nicolaescu2009-09-141-5/+16
| | | | | | | | | | | | | | | | | | | argument. Add a new method: root. * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for vc-print-root-log and vc-print-root-diff. * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log): * vc-git.el (vc-git-print-log, vc-git-log-view-mode): * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for short logs. * vc-cvs.el (vc-cvs-print-log): * vc-mtn.el (vc-mtn-print-log): * vc-rcs.el (vc-rcs-print-log): * vc-sccs.el (vc-sccs-print-log): * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog that is ignored for now.
* Remove find-file-not-found-hook VC method. (Bug#2757)Dan Nicolaescu2009-06-261-1/+0
| | | | | | | | | | * vc-hooks.el (vc-file-not-found-hook) (vc-default-find-file-not-found-hook): Remove functions. (find-file-not-found-functions): Do not add vc-file-not-found-hook. * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function. * vc.el: * vc-hg.el: * vc-git.el: Do not mention find-file-not-found-hook VC method.
* (vc-hg-log-switches): Add defcustom.Sam Steingold2009-06-121-1/+8
| | | | (vc-hg-print-log): Use it.
* (vc-hg-diff): Pass relative file names. (Bug#1903)Dan Nicolaescu2009-01-151-7/+8
|
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* (vc-hg-diff-switches): Doc fix.Glenn Morris2008-12-031-11/+5
|
* * align.el:Lute Kamstra2008-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * allout.el: * apropos.el: * arc-mode.el: * autoinsert.el: * avoid.el: * battery.el: * bookmark.el: * buff-menu.el: * calculator.el: * chistory.el: * cmuscheme.el: * comint.el: * compare-w.el: * dabbrev.el: * delim-col.el: * desktop.el: * diff-mode.el: * diff.el: * dired-aux.el: * dired-x.el: * dired.el: * dos-vars.el: * ediff-diff.el: * ediff-help.el: * ediff-init.el: * ediff-merg.el: * ediff-mult.el: * ediff-ptch.el: * ediff-vers.el: * ediff-wind.el: * ediff.el: * emerge.el: * facemenu.el: * faces.el: * ffap.el: * filecache.el: * find-dired.el: * font-core.el: * font-lock.el: * forms.el: * fringe.el: * help-at-pt.el: * hippie-exp.el: * ido.el: * image-file.el: * imenu.el: * indent.el: * info.el: * isearchb.el: * iswitchb.el: * jit-lock.el: * jka-compr.el: * log-edit.el: * lpr.el: * ls-lisp.el: * man.el: * menu-bar.el: * midnight.el: * mouse-sel.el: * mouse.el: * msb.el: * outline.el: * paren.el: * pcmpl-cvs.el: * pcmpl-gnu.el: * pcomplete.el: * pcvs-info.el: * pcvs-parse.el: * printing.el: * ps-mule.el: * ps-print.el: * replace.el: * ruler-mode.el: * saveplace.el: * sb-image.el: * scroll-bar.el: * sha1.el: * shadowfile.el: * shell.el: * sort.el: * speedbar.el: * strokes.el: * tempo.el: * term.el: * terminal.el: * time-stamp.el: * time.el: * tree-widget.el: * type-break.el: * vc-cvs.el: * vc-hg.el: * vc-mcvs.el: * vc-rcs.el: * vc-sccs.el: * vc.el: * view.el: * w32-vars.el: * whitespace.el: * wid-edit.el: Remove leading * from docstrings of defcustoms, deffaces, defconsts and defuns.
* (vc-hg-diff): No need to duplicate vc-switches logic.Glenn Morris2008-11-301-1/+1
|
* (vc-hg-global-switches): Remove.Dan Nicolaescu2008-11-241-13/+5
| | | | | (vc-hg-state, vc-hg-working-revision, vc-hg-command): Undo previous change.
* (vc-hg-program): New option.Glenn Morris2008-11-221-5/+13
| | | | | (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use vc-hg-program rather than hard-coded "hg".
* (vc-hg-diff-switches): New option.Glenn Morris2008-11-201-0/+15
| | | | (vc-hg-diff): Apply diff switches. (Bug#1017)
* * vc.el: Rename VC methods that were missed when vc-status wasDan Nicolaescu2008-10-271-12/+12
| | | | | | | | | | | | | | | | | | | renamed to vc-dir. * vc-svn.el (vc-svn-dir-extra-headers): Rename from vc-svn-status-extra-headers. * vc-hg.el (vc-hg-dir-printer): Rename from vc-hg-status-printer. (vc-hg-dir-extra-header): Rename from vc-hg-status-extra-headers. * vc-git.el (vc-git-dir-printer): Rename from vc-dir-status-printer. (vc-git-dir-extra-headers): Rename from vc-git-status-extra-headers. * vc-dir.el (vc-dir-mode): Use vc-dir-printer instead of vc-dir-status-printer. (vc-dir-headers): Use `dir-extra-headers' instead of `status-extra-headers' (vc-dir-printer): Rename from vc-dir-status-printer. (vc-default-dir-extra-headers): Rename from vc-default-status-extra-headers. * vc-cvs.el (vc-cvs-dir-extra-headers): Rename from vc-cvs-status-extra-headers.
* (vc-hg-dir-status-files): New function.Dan Nicolaescu2008-10-031-1/+9
|
* *** empty log message ***Dan Nicolaescu2008-07-051-2/+2
|
* (vc-hg-registered): Do not set vc-state.Dan Nicolaescu2008-07-051-1/+0
|
* American English spelling fix.Glenn Morris2008-06-271-8/+8
|
* * vc-hg.el:Dan Nicolaescu2008-06-251-1/+2
| | | | * vc-git.el: Require vc-dir when compiling.
* * vc-hg.el (vc-annotate-convert-time, vc-default-status-printer):Dan Nicolaescu2008-06-241-0/+3
| | | | | | | | * vc-rcs.el (vc-annotate-convert-time): * vc-mtn.el (vc-annotate-convert-time): * vc-git.el (vc-annotate-convert-time): * vc-cvs.el (vc-annotate-convert-time): * vc-bzr.el (vc-annotate-convert-time): Declare as functions.
* * log-view.el (log-view-diff-changeset): New function.Dan Nicolaescu2008-06-151-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | (log-view-mode-map, log-view-mode-menu): Bind it. (log-view-per-file-logs, log-view-vc-fileset) (log-view-vc-backend): New variables. (log-view-find-revision, log-view-modify-change-comment) (log-view-annotate-version): Throw an error if the log is for more than one file and we can't find the current file. Get the current file from log-view-vc-fileset if necessary. (log-view-diff): Get the current file from log-view-vc-fileset if necessary. * vc.el (vc-print-log): Set log-view-vc-fileset and log-view-vc-backend. * vc-hg.el (vc-hg-log-view-mode): Call the log method only once. (vc-hg-log-view-mode): Declare for compiler. (vc-hg-log-view-mode): Set log-view-per-file-logs and log-view-file-re. (vc-hg-diff): If no file is passed, use default-directory for cwd. * vc-bzr.el (vc-bzr-log-view-mode): Set log-view-per-file-logs. * vc-svn.el (vc-svn-log-view-mode): New derived mode.
* (vc-hg-status-extra-header, vc-hg-status-extra-headers):Sam Steingold2008-06-041-3/+23
| | | | Generate extra status headers for a Mercurial tree.
* Merge from emacs--rel--22Miles Bader2008-05-181-4/+8
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1169
| * (vc-hg-annotate-re): Recognize the output of --follow.Dan Nicolaescu2008-05-181-2/+6
| |
| * (vc-hg-annotate-command): Allow white space before version number.Dan Nicolaescu2008-05-171-2/+2
| |
* | Snapshot primitives globally renamed to refer to tags, documentation updated.Eric S. Raymond2008-05-151-4/+3
| |
* | (vc-hg-diff, vc-hg-annotate-command): Use when not if.Dan Nicolaescu2008-05-101-19/+20
| |
* | Remove assumption about what nil means as a first arument to vc-do-command.Eric S. Raymond2008-05-101-1/+1
| |
* | Remove wash-log from the VC backend API.Eric S. Raymond2008-05-091-1/+0
| |
* | Remove VC-Dired and backend dir-state methods.Eric S. Raymond2008-05-071-49/+0
| |
* | Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
| |
* | Remove logentry primitive from backend API.Eric S. Raymond2008-05-031-1/+0
| |
* | Clean up vc*-revision-granularity and vc*-checkout-model.Eric S. Raymond2008-05-021-5/+3
| |