aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/vc-svn.el
Commit message (Collapse)AuthorAgeFilesLines
* Move version control related files to the "vc" subdirectory.Juri Linkov2010-06-111-747/+0
| | | | | | | | | | | | * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el, * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el, * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el, * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el, * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el, * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el, * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el, * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el: Move files to the "vc" subdirectory.
* Add special markup processing for commit logs.Dan Nicolaescu2010-03-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * log-edit.el (log-edit-extra-flags): New variable. (log-edit): Add new argument MODE. Use that mode when non-nil instead of the log-view-mode. (log-view-process-buffer): New function. * vc.el: Document that the checkin method takes optional arguments. Document new backend specific method: log-view-mode. (vc-default-log-edit-mode): New function. (vc-checkin): Use a backend specific log-view-mode. Pass extra arguments to the checkin method. (vc-modify-change-comment): Pass a dummy extra argument. * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to log-edit. (vc-start-logentry): Add a mode argument, pass it to vc-log-edit. (vc-finish-logentry): Process the log buffer before passing it down. Pass log-edit-extra-flags. * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit command. (log-edit-extra-flags, log-edit-before-checkin-process): New declarations. * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit command. (log-edit-extra-flags, log-edit-before-checkin-process): New declarations. (vc-hg-log-edit-mode): New derived mode. * vc-arch.el (vc-arch-checkin): * vc-cvs.el (vc-cvs-checkin): * vc-git.el (vc-git-checkin): * vc-mtn.el (vc-mtn-checkin): * vc-rcs.el (vc-rcs-checkin): * vc-sccs.el (vc-sccs-checkin): * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
* add primative implementation of vc-svn-revision-tableMark A. Hershberger2010-02-051-0/+19
|
* * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)Glenn Morris2010-01-271-0/+1
|
* (vc-svn-print-log): Use --limit rather than -l since theGlenn Morris2010-01-141-2/+2
| | | | former seems to be more widely accepted by various svn versions.
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* (vc-svn-after-dir-status): Fix regexp. (Bug#4741)Dan Nicolaescu2009-12-101-1/+1
|
* Support showing a single log entry from vc-annotate.Dan Nicolaescu2009-12-071-9/+16
| | | | | | | | | | | | | | | | | | | | * 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-svn-print-log): Fix typo in previous.Glenn Morris2009-11-171-1/+1
|
* * vc.el (vc-log-show-limit): New variable.Dan Nicolaescu2009-11-151-4/+7
| | | | | | | | | | | | | | | | | | | (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-mtn.el (vc-mtn-annotate-command):Dan Nicolaescu2009-09-141-1/+1
| | | | * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
* * vc.el (top): print-log method now takes an optional SHORTLOGDan Nicolaescu2009-09-141-1/+1
| | | | | | | | | | | | | | | | | | | 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.
* (vc-svn-dir-extra-headers, vc-svn-find-revision):Michael Albinus2009-08-251-13/+17
| | | | Let-bind `process-file-side-effects' with nil.
* * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):Dan Nicolaescu2009-06-231-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an optional argument for the backend, use it instead of calling vc-backend. (vc-mode-line): Add an optional argument for the backend. Pass the backend to vc-state and vc-working-revision. Move code for special handling for vc-state being a buffer to ... * vc-rcs.el (vc-rcs-find-file-hook): * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions. * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout) (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state, vc-stay-local-p and vc-mode-line calls. * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log) (vc-cvs-diff, vc-cvs-annotate-command) (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p) (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and vc-mode-line calls. * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of direct comparison. (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the backend when calling vc-mode-line. (vc-register): Do not create a closure for calling the vc register function, call it directly.
* (vc-svn-parse-status): Accept ?D for removed files (bug#3213).Stefan Monnier2009-05-051-2/+2
|
* (vc-svn-after-dir-status): Fix regexp to allow forDan Nicolaescu2009-04-151-2/+2
| | | | | file names with leading spaces. Ignore "." if it appears as a filename.
* (vc-svn-after-dir-status): Use shy group for revisionNick Roberts2009-02-101-1/+1
| | | | number as it isn't present for unregistered files.
* (vc-svn-diff): Revert previous change but add a testNick Roberts2009-02-041-0/+13
| | | | for newvars is nil. (C-u C-x v = with default values).
* (vc-svn-dir-status): Disable the vc-stay-local-pDan Nicolaescu2009-01-311-2/+6
| | | | logic, it makes the makes the normal case too slow.
* (vc-svn-dir-status): Correct logic for remoteNick Roberts2009-01-301-13/+1
| | | | | | connection. (vc-svn-diff): Use old version number even when it is the working revision. This is needed, e.g, in the vc-print-log buffer.
* Exclude VCS metadata dirs from completion.Juanma Barranquero2009-01-291-3/+0
| | | | | | | | | * bindings.el (completion-ignored-extensions): Add entries for VCS metadata directories (CVS/, .svn, etc). * pcvs.el (completion-ignored-extensions): * vc-svn.el (completion-ignored-extensions): Don't add VCS-specific directory, now done in bindings.el.
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* (vc-svn-register-switches): Doc fix. Add t as option.Glenn Morris2008-12-041-10/+8
| | | | (vc-svn-register): Doc fix.
* Comment.Glenn Morris2008-12-031-0/+1
|
* Coract spelling.Chong Yidong2008-12-031-1/+1
|
* (vc-svn-diff-switches): Doc fix.Glenn Morris2008-11-301-3/+6
| | | | (vc-svn-diff): Fix the case where vc-svn-diff-switches is nil.
* Remove leading `*' from defcustom doc-strings.Glenn Morris2008-11-221-10/+11
| | | | | | (vc-svn-program): Move defcustom to start. (vc-svn-create-repo, vc-svn-modify-change-comment): Use vc-svn-program rather than hard-coded "svn".
* (vc-svn-diff): If files is nil don't set oldvers toNick Roberts2008-10-301-0/+1
| | | | nil so that log-view-diff-changeset works.
* * vc.el: Rename VC methods that were missed when vc-status wasDan Nicolaescu2008-10-271-1/+1
| | | | | | | | | | | | | | | | | | | 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-hooks.el (vc-stay-local): Add a new choice and default to it.Dan Nicolaescu2008-10-131-1/+2
| | | | | | | | * vc-cvs.el (vc-cvs-dir-stay-local): Remove. (vc-cvs-stay-local): Add a new choice and default to it. (vc-cvs-dir-status): Use the new vc-stay-local choice. * vc-svn.el (vc-svn-dir-status): Use the new vc-stay-local choice.
* (vc-svn-after-dir-status): Handle `svn status -u' output.Glenn Morris2008-10-041-6/+19
| | | | (vc-svn-dir-status): Respect vc-stay-local-p. (Bug#1046)
* * vc-svn.el (vc-svn-dir-status-files):Dan Nicolaescu2008-10-041-0/+5
| | | | * vc-cvs.el (vc-cvs-dir-status-files): New function.
* * vc-svn.el (vc-svn-root):Stefan Monnier2008-09-071-3/+0
| | | | | | | * vc-sccs.el (vc-sccs-root): * vc-rcs.el (vc-rcs-root): * vc-cvs.el (vc-cvs-root): Delete. * vc-hooks.el (vc-find-root): Remove `invert' argument.
* (vc-svn-parse-status): Use when instead of if.Dan Nicolaescu2008-08-061-2/+2
| | | | | Fix 2008-01-01 change: use a shy group to not affect subsequent match calls.
* (vc-annotate-parent-rev): Pacify byte compiler.Dan Nicolaescu2008-06-251-3/+0
| | | | (vc-svn-parse-status): Do not set the vc-backend property.
* (vc-annotate-parent-rev): Pacify byte compiler.Dan Nicolaescu2008-06-251-0/+2
|
* (log-view-per-file-logs): Pacify byte compiler.Juanma Barranquero2008-06-161-2/+4
|
* * log-view.el (log-view-diff-changeset): New function.Dan Nicolaescu2008-06-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | (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.
* Add extra-headers method for SVN.Eric S. Raymond2008-05-161-0/+17
|
* Snapshot primitives globally renamed to refer to tags, documentation updated.Eric S. Raymond2008-05-151-6/+6
|
* Remove assumption about what nil means as a first arument to vc-do-command.Eric S. Raymond2008-05-101-10/+6
|
* Remove wash-log from the VC backend API.Eric S. Raymond2008-05-091-5/+0
|
* * vc.el (vc-mark-resolved): Add `backend' argument.Stefan Monnier2008-05-091-1/+1
| | | | | | | | | | | | | | | (vc-next-action): Pass it the backend. (vc-next-action, vc-checkout, vc-mark-resolved, vc-version-diff) (vc-merge, vc-rollback, vc-update, vc-transfer-file, vc-delete-file) (vc-default-comment-history, vc-default-create-snapshot) (vc-default-retrieve-snapshot, vc-default-revert, vc-annotate) (vc-annotate-revision-previous-to-line) (vc-annotate-show-diff-revision-at-line, vc-annotate-warp-revision): * vc-svn.el (vc-svn-checkout): * vc-mcvs.el (vc-mcvs-checkout): * vc-hooks.el (vc-state, vc-default-workfile-unchanged-p) (vc-working-revision, vc-before-save, vc-mode-line): Prefer vc-call-backend to vc-call so as not to recompute the backend.
* Remove VC-Dired and backend dir-state methods.Eric S. Raymond2008-05-071-11/+0
|
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* Clean up vc*-revision-granularity and vc*-checkout-model.Eric S. Raymond2008-05-021-7/+3
|
* Change 'needs-patch to 'needs-update.Eric S. Raymond2008-05-011-1/+1
|
* Comment cleanup (no code change).Eric S. Raymond2008-05-011-2/+0
|
* Make `checkout-model' apply to filesets.Stefan Monnier2008-04-291-1/+1
| | | | | | | | | | | | | | | | | | | * vc-hooks.el (vc-checkout-model): Rewrite. (vc-before-save, vc-after-save): Adjust callers accordingly. * vc.el (vc-editable-p, vc-next-action, vc-checkout, vc-update) (vc-transfer-file): Adjust callers accordingly. * vc-rcs.el (vc-rcs-checkout-model): Adjust arg. (vc-rcs-state, vc-rcs-state-heuristic, vc-rcs-receive-file) (vc-rcs-checkout, vc-rcs-fetch-master-state): Use vc-rcs-checkout-model instead of vc-checkout-model. * vc-mcvs.el (vc-mcvs-revert): Use vc-mcvs-checkout-model i.s.o vc-checkout-model. * vc-cvs.el (vc-cvs-checkout-model): Adjust arg. (vc-cvs-revert): Use vc-cvs-checkout-model i.s.o vc-checkout-model. * vc-svn.el (vc-svn-checkout-model): * vc-hg.el (vc-hg-checkout-model): * vc-git.el (vc-git-checkout-model): * vc-bzr.el (vc-bzr-checkout-model): Adjust arg.
* (vc-svn-after-dir-status): Complete last change.Stefan Monnier2008-04-111-9/+9
|