1. 29 Mar, 2008 2 commits
    • Dan Nicolaescu's avatar
      * vc.el (vc-status-menu-map, vc-status-mode-map): Bind vc-revert. · 115c0061
      Dan Nicolaescu authored
      (vc-status-refresh): Create a temporary buffer and call the
      `dir-status' backend function from that buffer.
      * vc-bzr.el (vc-bzr-dir-status): Don't create a buffer.
      (vc-bzr-after-dir-status): Don't kill the buffer.
      * vc-cvs.el (vc-cvs-dir-status): Don't create a buffer.
      (vc-cvs-after-dir-status): Don't kill the buffer.
      * vc-git.el (vc-git-dir-status): Don't create a buffer.
      (vc-git-after-dir-status-stage2): Don't kill the buffer.
      * vc-hg.el (vc-hg-dir-status): Don't create a buffer.
      (vc-hg-after-dir-status): Don't kill the buffer.
      * vc-svn.el (vc-svn-dir-status): Don't create a buffer.
      (vc-svn-after-dir-status): Don't kill the buffer.
    • Stefan Monnier's avatar
  2. 28 Mar, 2008 1 commit
  3. 24 Mar, 2008 2 commits
  4. 23 Mar, 2008 1 commit
  5. 21 Mar, 2008 1 commit
    • Dan Nicolaescu's avatar
      * vc-hg.el (vc-hg-state): · 6a3f9bb7
      Dan Nicolaescu authored
      * vc-git.el (vc-git-state):
      * vc-cvs.el (vc-cvs-parse-status):
      * vc-bzr.el (vc-bzr-state): Return 'added when the file is in that
  6. 17 Mar, 2008 2 commits
  7. 15 Mar, 2008 1 commit
  8. 14 Mar, 2008 2 commits
  9. 06 Mar, 2008 1 commit
  10. 23 Feb, 2008 1 commit
    • Dan Nicolaescu's avatar
      * vc.el (vc-find-revision): Make vc-parent-buffer local before · 25a4ea6d
      Dan Nicolaescu authored
      setting it.
      (vc-status-menu-map): Do not define using easy-menu.
      (vc-status-menu-map): New defalias.
      (vc-status-mode-map): Hook up the menu.
      (top-level): Update TODO.
      * vc-hg.el (vc-hg-extra-status-menu): Return a keymap.
      * vc-bzr.el (vc-bzr-init-version): Rename to ...
      (vc-bzr-init-revision): ... this.
  11. 05 Jan, 2008 1 commit
  12. 04 Jan, 2008 2 commits
    • Stefan Monnier's avatar
      Copyright and version headers update. · f4d0cf23
      Stefan Monnier authored
      Remove some outdated comments through the whole file.
      (vc-bzr-program-args): Remove because unused.
      (vc-bzr-log-switches): New customization option.
      (vc-bzr-command): Use LC_MESSAGES=C instead of LC_ALL=C.  No longer
      use `vc-bzr-program-args'.
      (vc-bzr-register): Fix for working with both 22.1 and CVS version of
      `vc-find-root' (patch by Andreas Hoenen).
      (vc-bzr-status): Update regex to match latest Bzr output.
      Remove redundant test.
      (vc-bzr-init-version): New function.
      (vc-bzr-unregister): Must not delete file.
      (vc-bzr-find-version): New function.
      (vc-bzr-checkout): Argument `rev' is explicit revision only if it's
      a non-empty string, otherwise take head revision.
      (vc-bzr-print-log): Pass `vc-bzr-log-switches' to "bzr log".
      (vc-bzr-diff): Simpler build of the revision spec string.
      (vc-annotate-convert-time, vc-bzr-annotate-difference):
      Remove: compatibility hacks for Emacs21, not needed in Emacs 22.
      (vc-bzr-dir-state): Add code comments.  Removed redundant statement.
      (vc-bzr-dired-state-info): Only provide custom strings for
      overloaded VC state 'edited; otherwise fallback to
    • Dan Nicolaescu's avatar
      * mouse.el (mouse-popup-menubar): Fix typo. · b38f5e6f
      Dan Nicolaescu authored
      * emacs-lisp/bytecomp.el (byte-compile-from-buffer): Move one more
      form inside with-current-buffer.
      * progmodes/antlr-mode.el (provide): Move to the end of file.
      (require): Don't require font-lock and compile.
      (outline-level, imenu-use-markers, imenu-create-index-function):
      Move declarations to top level.
      (cond-emacs-xemacs-macfn): Declare for compiler.
      * vc-bzr.el (vc-bzr-root):
      * vc-arch.el (vc-arch-root): Only set a property if the file is
      managed by this backend.
      * vc-hg.el (vc-hg-state): Support the new status code for
  13. 29 Dec, 2007 1 commit
    • Eric S. Raymond's avatar
      * vc-svn.el (vc-svn-parse-status): Recognize 'added, 'removed, · 484c1b1f
      Eric S. Raymond authored
      and 'unregistered states.
      * vc-hooks.el (vc-state): Added 'removed state to documentation.
      * vc-hg (vc-hg-parse-status): Recognize 'added, 'removed,  and
      'up-to-date state.  Deal with the possibility that C for clean
      might change to "=" in the next point release.
      * vc-git.el (vc-git-parse-status): Recognize 'removed.
      * vc.el (header comment): Better description of new dir-state.
      (vc-compatible-state): Defines which states are mutually
      compatible; usable with 'edited as a test for which can be committed on.
      (vc-dired-hook): Turn off undo in the VC-Dired buffer, a speed tweak.
      (vc-default-dired-state-info): Display 'removed state.
      * vc-bzr.el (vc-bzr-dir-state): Recognize 'added.
  14. 28 Dec, 2007 2 commits
    • Eric S. Raymond's avatar
      * vc-hooks.el (vc-state): Document new 'ignored and 'unregistered · 722f037f
      Eric S. Raymond authored
      	states. and the new return-value convention.  These are not
      	actually used yet, just set.
      	* vc-svn.el (vc-svn-parse-status): Set 'ignored and 'unregistered
      	states when appropriate.
      	* vc-hg.el (vc-hg-state,vc-hg-dir-state): Set 'ignored and
      	'unregistered' when appropriate.
      	* vc-git.el: Document that we don't set the new states yet.
      	* vc.el (vc-dired-state-info): Display 'unregistered and
      	'ignored states.
      	* vc-cvs.el (vc-cvs-parse-status): Set the 'ignored state when
      	* vc-bzr.el (vc-bzr-dir-state): Set 'ignored and
      	'unregistered' when appropriate.
    • Eric S. Raymond's avatar
      * vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el, vc-mcvs.el, vc-svn.el: · 18e1f249
      Eric S. Raymond authored
      Modify all instances of the dir-state back-end method to suppress
      keeping undo lists on the buffers holding astatus output, which
      csn get extremely large.
  15. 26 Dec, 2007 1 commit
  16. 20 Oct, 2007 1 commit
    • Stefan Monnier's avatar
      * vc-bzr.el (vc-bzr-diff-tree): · 54a2247d
      Stefan Monnier authored
      * vc-git.el (vc-git-diff-tree):
      * vc-hg.el (vc-hg-diff-tree):
      * vc-mcvs.el (vc-mcvs-diff-tree):
      * vc-mtn.el (vc-mtn-diff-tree):
      * vc-svn.el (vc-svn-diff-tree): Remove.
  17. 10 Oct, 2007 2 commits
  18. 07 Sep, 2007 1 commit
    • Stefan Monnier's avatar
      (vc-bzr-admin-lastrev): New constant. · 6e98ad29
      Stefan Monnier authored
      (vc-bzr-file-name-relative): Use 'when' instead of 'and'.
      (vc-bzr-status): Fix shadowing of variable 'status'.
      (vc-bzr-workfile-version): Use correct path to 'last-revision' file.
      Use `expand-file-name' instead of `concat'.
      (vc-bzr-annotate-command): Use option name '--long' instead of '-l'.
      Update annotation line regexp.  Fixes launchpad.net [Bug 137435].
  19. 06 Sep, 2007 1 commit
  20. 15 Aug, 2007 1 commit
    • Stefan Monnier's avatar
      Don't fiddle with vc-handled-backend. · fba500b6
      Stefan Monnier authored
      (vc-bzr-registered): Don't redundantly protect against
      file-error.  Actually use the format-specific code.
      (vc-bzr-buffer-nonblank-p): Remove.
      (vc-bzr-status): Change `kindchange' -> `kindchanged'.
  21. 09 Aug, 2007 1 commit
    • Stefan Monnier's avatar
      (vc-bzr-registered): Use \0 instead of literal NULs. · 33e5d7d4
      Stefan Monnier authored
      (vc-bzr-state-words): Add "kind changed" state word.
      (vc-bzr-status): New function.  Return Bzr idea of file status,
      which is different from VC's.
      (vc-bzr-state): Use vc-bzr-status.
      (vc-workfile-unchanged-p): Use vc-bzr-status.
      (vc-bzr-revert): Use synchronous process; expect exitcode 0.
      (vc-dired-state): Process "kind changed" state word.
  22. 07 Aug, 2007 1 commit
    • Stefan Monnier's avatar
      Remove comments about vc-bzr.el being a modified unofficial version. · a460c94c
      Stefan Monnier authored
      (vc-bzr-command): Remove redundant setting of process-connection-type.
      (vc-bzr-admin-checkout-format-file): Add autoload.
      (vc-bzr-root-dir): Remove in favor of vc-bzr-root.
      (vc-bzr-root): Switch to implementation of vc-bzr-root-dir.
      (vc-bzr-registered): Compare dirstate format tag with known good
      value, abort parsing if match fails.  Warn user in docstring.
      (vc-bzr-workfile-version): Case for different Bzr branch formats.
      See bzrlib/branch.py in Bzr sources.
      (vc-bzr-diff): First argument FILES may be a string rather than a list.
      (vc-bzr-shell-command): Remove in favor of
      (vc-bzr-command-discarding-stderr): New function.
  23. 06 Aug, 2007 1 commit
    • Stefan Monnier's avatar
      (vc-bzr-registered): Gracefully handle missing "bzr" · b6e6e09a
      Stefan Monnier authored
      program, and return nil
      (vc-bzr-state): Gracefully handle missing "bzr" program, and return nil.
      (vc-bzr-state): Look for path names relative to the repository
      root after status keyword.
      (vc-bzr-file-name-relative): New function.
      (vc-bzr-admin-dirname): Reinstate, as other vc-bzr-admin-... paths
      depend on it.
      (vc-bzr-admin-dirname, ...-checkout-format-file)
      (...-branch-format-file, ...-revhistory): Paths to some Bzr internal
      files that we now parse directly for speed.
      (vc-bzr-root-dir): Use `vc-bzr-admin-checkout-format-file' as witness.
      (vc-bzr-registered): Only parse vc-bzr-admin-dirstate file if it exists.
      (vc-bzr-state): "bzr status" successful only if exitcode is 0
      (vc-bzr-root): Use `vc-bzr-shell-command'.  Stderr may contain
      Bzr warnings, so we must discard it.
      (vc-bzr-workfile-version): Speedup counting lines from
      `vc-bzr-admin-revhistory' file, but fallback to spawning "bzr revno"
      if that file doesn't exist.
      (vc-bzr-responsible-p): Use `vc-bzr-root' instead of
      `vc-bzr-root-dir' for speed.
      add `vc-bzr-admin-dirname' (not ".bzr"!) to `vc-directory-exclusion-list'
      (vc-bzr-shell-command): New function.
  24. 03 Aug, 2007 2 commits
  25. 02 Aug, 2007 1 commit
  26. 31 Jul, 2007 1 commit
  27. 27 Jul, 2007 1 commit
  28. 20 Jul, 2007 1 commit
    • Dan Nicolaescu's avatar
      * vc-hg.el (vc-hg-print-log): Deal with multiple file arguments. · a6ea7ffc
      Dan Nicolaescu authored
      (vc-hg-registered): Replace if with when.
      (vc-hg-state): Deal with nonexistent files and handle removed
      (vc-hg-dir-state, vc-hg-dired-state-info): New functions.
      (vc-hg-checkout): Re-enable.
      (vc-hg-create-repo): Fix typos.
      * vc.el: Fix typo.
      * vc-mcvs.el (vc-mcvs-create-repo): Fix typos.
      * vc-bzr.el (vc-bzr-create-repo): New function.
  29. 18 Jul, 2007 1 commit
  30. 17 Jul, 2007 1 commit
  31. 28 Jun, 2007 1 commit
  32. 22 Jun, 2007 1 commit