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
c771f3d6
Commit
c771f3d6
authored
Jan 02, 2005
by
Stefan Monnier
Browse files
(vc-arch-workfile-version): Fix last change.
parent
5e39b98a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lisp/vc-arch.el
lisp/vc-arch.el
+1
-1
No files found.
lisp/vc-arch.el
View file @
c771f3d6
...
...
@@ -270,7 +270,7 @@ Return non-nil if FILE is unchanged."
(
defun
vc-arch-workfile-version
(
file
)
(
let*
((
root
(
expand-file-name
"{arch}"
(
vc-arch-root
file
)))
(
defbranch
(
vc-arch-default-version
file
)))
(
when
(
and
defbranch
(
string-match
"\\`\\(.+@[^/\n]+\\)/\\(\\(\\(.*\\)\\(--.*\\)?\\)--.*\\)\\'"
defbranch
))
(
when
(
and
defbranch
(
string-match
"\\`\\(.+@[^/\n]+\\)/\\(\\(\\(.*
?
\\)\\(
?:
--.*\\)?\\)--.*\\)\\'"
defbranch
))
(
let*
((
archive
(
match-string
1
defbranch
))
(
category
(
match-string
4
defbranch
))
(
branch
(
match-string
3
defbranch
))
...
...
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