Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a272e668
Commit
a272e668
authored
Jul 20, 2007
by
Dan Nicolaescu
Browse files
(vc-hg-workfile-unchanged-p): New function.
parent
7c095357
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
lisp/ChangeLog
lisp/ChangeLog
+1
-0
lisp/vc-hg.el
lisp/vc-hg.el
+5
-1
No files found.
lisp/ChangeLog
View file @
a272e668
...
...
@@ -11,6 +11,7 @@
(vc-hg-checkout): Re-enable.
(vc-hg-create-repo): Fix typos.
(vc-hg-print-log): Fix for multiple files.
(vc-hg-workfile-unchanged-p): New function.
* vc.el: Fix typo.
(vc-print-log): Fix call to print-log.
...
...
lisp/vc-hg.el
View file @
a272e668
...
...
@@ -48,7 +48,7 @@
;; * workfile-version (file) OK
;; - latest-on-branch-p (file) ??
;; * checkout-model (file) OK
;; - workfile-unchanged-p (file)
??
;; - workfile-unchanged-p (file)
OK
;; - mode-line-string (file) NOT NEEDED
;; - dired-state-info (file) OK
;; STATE-CHANGING FUNCTIONS
...
...
@@ -407,6 +407,10 @@ REV is the revision to check out into WORKFILE."
(
defun
vc-hg-checkout-model
(
file
)
'implicit
)
;; Modelled after the similar function in vc-bzr.el
(
defun
vc-hg-workfile-unchanged-p
(
file
)
(
eq
'up-to-date
(
vc-hg-state
file
)))
(
defun
vc-hg-dired-state-info
(
file
)
"Hg-specific version of `vc-dired-state-info'."
(
let
((
hg-state
(
vc-state
file
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment