1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00
Commit Graph

68 Commits

Author SHA1 Message Date
André Spiegel
a9817cc404 (vc-cvs-print-log, vc-cvs-diff): Add optional BUFFER argument. 2004-03-21 15:45:31 +00:00
André Spiegel
f2a2e61bb2 * vc-cvs.el (vc-cvs-annotate-extract-revision-at-line): New
function.
2004-01-20 17:41:18 +00:00
Dave Love
f52d10f2b7 (vc-cvs-parse-entry): Revert last change to allow
bootstrap.
2003-10-01 13:23:34 +00:00
André Spiegel
e5d9c9a23d (vc-cvs-parse-entry): Don't require parse-time, because it's
autoloaded now.
2003-09-26 07:23:36 +00:00
André Spiegel
ecfc2ba00d (vc-cvs-parse-entry): Restore the code to compare time stamps
numerically, rather than textually.
2003-09-24 11:55:45 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Stefan Monnier
e54faddb96 (vc-cvs-repository-hostname): New operation.
(vc-cvs-stay-local-p): Use vc-stay-local-p.
(vc-cvs-rename-file): Remove (use the default).
(vc-cvs-register): Register parent dir if needed.
(vc-cvs-could-register): Return non-nil if parent can be registered.
(vc-cvs-state, vc-cvs-dir-state, vc-cvs-print-log, vc-cvs-diff)
(vc-cvs-diff-tree, vc-cvs-make-version-backups-p): Use vc-stay-local-p.
2003-07-04 22:40:26 +00:00
André Spiegel
63274db139 (vc-cvs-checkout): Don't leave the branch when REV is t.
From Don Provan <dprovan@bivio.net>.
2003-05-23 17:57:29 +00:00
Stefan Monnier
a0688443cc (vc-cvs-mode-line-string): Use vc-default-mode-line-string.
(vc-cvs-delete-file, vc-cvs-rename-file): New functions.
2003-05-09 14:32:01 +00:00
Stefan Monnier
f153cb52f8 (vc-cvs-register, vc-cvs-checkin, vc-cvs-find-version, vc-cvs-diff)
(vc-cvs-diff-tree, vc-cvs-checkout): Use vc-switches.
(vc-cvs-revert): Undo patch committed 2003-05-08T20:08:12Z!monnier@iro.umontreal.ca.
2003-05-08 20:44:50 +00:00
Stefan Monnier
cc47c6c183 (vc-cvs-dired-state-info): Typo. 2003-05-08 20:08:12 +00:00
Stefan Monnier
7837647476 (vc-cvs-dired-state-info): Use `added' for added files and
don't use `concat' unnecessarily.  Remove impossible cases.
(vc-cvs-diff): Don't return 0 for newly added empty files.
(vc-cvs-stay-local-p): Simplify.
2003-05-08 18:23:53 +00:00
André Spiegel
f354c160da (vc-cvs-stay-local): Keep the old default. Simplify doc string. 2003-04-23 13:14:16 +00:00
André Spiegel
d3ed06c6d1 Patch by Wolfgang Scherer <Wolfgang.Scherer@gmx.de>
(vc-cvs-stay-local): Allow lists of host regexps.
(vc-cvs-stay-local-p): Handle them.
(vc-cvs-parse-root): New function, used by the above.
2003-04-23 12:49:25 +00:00
Stefan Monnier
d3ee404f7f (vc-cvs-dir-state): Use vc-cvs-command.
(vc-cvs-could-register, vc-cvs-make-version-backups-p): Use defalias.
(vc-cvs-merge-news): Simplify.
(vc-cvs-diff): Remove unused var `options'.
(vc-cvs-parse-entry): Use the same algorithm as cvs does.
2003-04-19 22:40:18 +00:00
André Spiegel
666721a688 (vc-cvs-get-entries): New function that uses the right coding system for
accessing CVS/Entries.
(vc-cvs-registered, vc-cvs-dir-state-heuristic): Use it.
2003-04-05 15:51:14 +00:00
Andreas Schwab
92788b3bcd (vc-cvs-parse-entry): Make sure a file with conflicts
is marked as edited.
2003-03-27 22:40:29 +00:00
André Spiegel
4b180a76d2 (vc-cvs-dir-state): Protect against DIR not being under CVS control. 2003-02-17 08:11:13 +00:00
André Spiegel
83220ab07a (vc-cvs-checkout): Handle t argument for REV. 2002-12-26 14:05:48 +00:00
Juanma Barranquero
aa4af0714e (vc-cvs-sticky-tag-display): Fix typo. 2002-10-17 15:43:48 +00:00
Miles Bader
6c150da9f5 (vc-cvs-parse-entry): Don't barf when an `Entries' files contains an
invalid timestamp.
2002-10-11 06:49:49 +00:00
André Spiegel
15d85d9205 (vc-cvs-parse-entry): Parse the time stamp found in CVS/Entries,
rather than comparing it textually.
2002-10-10 08:44:58 +00:00
Markus Rost
cfb0dbdcee (vc-cvs-registered): In the autoload version use load instead of
require to avoid loops when loaddefs.el is loaded after vc-cvs.el.
2002-10-09 15:59:39 +00:00
Stefan Monnier
23b0a67405 (vc-cvs-find-version): Fix vc-checkout-switches use. 2002-10-08 20:25:21 +00:00
Stefan Monnier
ea05db0198 (vc-cvs-find-version): New fun. 2002-10-08 15:38:28 +00:00
Stefan Monnier
65cc83218f (vc-cvs-show-log-entry): Delete. 2002-10-04 18:38:53 +00:00
Juanma Barranquero
e6608c1233 Fix typo. 2002-07-03 14:26:51 +00:00
Eli Zaretskii
89e7ad5946 Change all post-21.1 :version attributes to 21.4. 2002-05-12 17:30:42 +00:00
Sam Steingold
93bcb353e7 (vc-cvs-valid-version-number-p): New function.
(vc-cvs-checkin): Use it.
2002-04-09 17:13:51 +00:00
Sam Steingold
968b980cd8 (vc-cvs-checkin): Pass the required argument to `error'. 2002-04-08 13:38:48 +00:00
André Spiegel
bbce041718 (vc-cvs-global-switches): New user option.
(vc-cvs-command): New function.  Update all callers of `vc-do-command'
in vc-cvs.el to use this instead.
2002-03-28 14:29:06 +00:00
Stefan Monnier
839daccae7 (vc-cvs-registered, vc-cvs-dir-state-heuristic):
Don't consider cvs-removed files as under VC control.
VC wouldn't handle them properly anyway and it confuses
vc-file-not-found-hook.
2002-03-22 23:10:01 +00:00
André Spiegel
4897ff21e9 (vc-cvs-register): Fix handling of vc-[cvs-]register-switches. 2002-03-18 17:19:45 +00:00
André Spiegel
044504d226 (vc-cvs-diff-tree): Fix typo in parameter names. 2002-03-05 13:30:50 +00:00
André Spiegel
df8e0a91a1 (vc-cvs-diff, vc-cvs-diff-tree): Use consistent parameter format for
vc-diff-switches-list.
2002-02-25 22:03:24 +00:00
André Spiegel
51af12fc20 Patch by Martin.Lorentzson@telia.com.
(vc-cvs-sticky-date-format-string): New variable.
(vc-cvs-sticky-tag-display): New variable.
(vc-cvs-mode-line-string): Add sticky-tag to the mode-line.
(vc-cvs-checkin): If the input revision is a valid symbolic tag
name, we create it as a branch, commit and switch to it.
(vc-cvs-retrieve-snapshot): Set file-property sticky-tag.
(vc-cvs-valid-symbolic-tag-name-p): New function.
(vc-cvs-parse-sticky-tag): New function.
(vc-cvs-parse-entry): Added parsing of sticky tags.
2002-02-21 20:16:47 +00:00
André Spiegel
4a96a5e96a This is a restore to version 1.29; the patch was taken out awaiting
copyright assignment.
2002-01-11 21:09:39 +00:00
André Spiegel
6223f0976f Fix prev change. 2002-01-08 20:00:19 +00:00
André Spiegel
a9f81d67cb Patch by Martin.Lorentzson@telia.com.
(vc-cvs-sticky-date-format-string): New variable.
(vc-cvs-sticky-tag-display): New variable.
(vc-cvs-mode-line-string): Add sticky-tag to the mode-line.
(vc-cvs-checkin): If the input revision is a valid symbolic tag
name, we create it as a branch, commit and switch to it.
(vc-cvs-retrieve-snapshot): Set file-property sticky-tag.
(vc-cvs-valid-symbolic-tag-name-p): New function.
(vc-cvs-parse-sticky-tag): New function.
(vc-cvs-parse-entry): Added parsing of sticky tags.
2002-01-08 19:57:57 +00:00
Pavel Janík
f0529b5b1a Doc fix. 2001-12-20 19:01:00 +00:00
André Spiegel
44f663a4de (vc-cvs-parse-status): Store file state in property, don't just return
it.
2001-11-30 13:47:39 +00:00
Stefan Monnier
4a9b4f3079 (vc-cvs-parse-entry): Rewrite, comparing the string-
rather than integer- representation of dates.
2001-11-25 23:52:51 +00:00
André Spiegel
8ba2df32b7 New scaling algorithm for vc-annotate.
From JD Smith <jdsmith@astro.cornell.edu>.
(vc-cvs-annotate-difference): Removed to generic
version in vc.el, with
(vc-cvs-annotate-current-time): Added, as override of default.
(vc-cvs-annotate-time) Added. Taken mostly from the (now removed)
`vc-cvs-annotate-difference'.
2001-10-22 07:57:00 +00:00
André Spiegel
5e0fdc5a86 (vc-cvs-diff-tree): New function. 2001-10-21 12:21:29 +00:00
André Spiegel
99739bbf42 (vc-*-revert-file): Handle new optional arg CONTENTS-DONE. 2001-08-28 17:06:36 +00:00
Stefan Monnier
c6a84d1750 (vc-cvs-stay-local): doc fix. 2001-07-04 15:51:18 +00:00
Eli Zaretskii
8f9ab4032f (vc-cvs-print-log, vc-cvs-diff): Don't invoke CVS as
an async subprocess if start-process is unavailable.  Suggested by
Tim Van Holder <tim.van.holder@pandora.be>.
2001-04-17 06:01:40 +00:00
André Spiegel
6e024fc80f (vc-cvs-checkin): When removing the sticky tag, make output go to
buffer *vc*, not the current buffer.
(vc-cvs-print-log): Output to buffer *vc*, not the current buffer.
(vc-cvs-diff): Output to buffer *vc-diff*, not the current buffer.
2001-03-10 10:49:05 +00:00
André Spiegel
54be33bc3f Remove autoloads. Require vc when compiling. 2001-02-02 07:21:21 +00:00
André Spiegel
633147f5a4 (vc-cvs-diff-switches): New customization option.
(vc-cvs-diff): Use it via vc-diff-switches-list.
2001-02-01 15:10:16 +00:00