Mercurial > emacs
comparison lisp/vc-bzr.el @ 94481:ad6c174910db
Make `checkout-model' apply to filesets.
* 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.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 29 Apr 2008 15:32:56 +0000 |
parents | 34110d646fc8 |
children | 2a61c5f918a5 |
comparison
equal
deleted
inserted
replaced
94480:cf998cc4d006 | 94481:ad6c174910db |
---|---|
344 (output (cdr result))) | 344 (output (cdr result))) |
345 (cond | 345 (cond |
346 ((eq exitcode 0) (substring output 0 -1)) | 346 ((eq exitcode 0) (substring output 0 -1)) |
347 (t nil)))))) | 347 (t nil)))))) |
348 | 348 |
349 (defun vc-bzr-checkout-model (file) | 349 (defun vc-bzr-checkout-model (files) 'implicit) |
350 'implicit) | |
351 | 350 |
352 (defun vc-bzr-create-repo () | 351 (defun vc-bzr-create-repo () |
353 "Create a new Bzr repository." | 352 "Create a new Bzr repository." |
354 (vc-bzr-command "init" nil 0 nil)) | 353 (vc-bzr-command "init" nil 0 nil)) |
355 | 354 |