Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c217cb04
Commit
c217cb04
authored
May 05, 2003
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(vc-svn-merge): First attempt.
parent
1468d754
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
lisp/vc-svn.el
lisp/vc-svn.el
+6
-5
No files found.
lisp/vc-svn.el
View file @
c217cb04
...
...
@@ -328,14 +328,15 @@ This is only possible if SVN is responsible for FILE's directory.")
"Merge changes into current working copy of FILE.
The changes are between FIRST-VERSION and SECOND-VERSION."
(
vc-svn-command
nil
0
file
"update"
"-kk"
(
concat
"-j"
first-version
)
(
concat
"-j"
second-version
))
"merge"
-r
(
if
second-version
(
concat
first-version
":"
second-version
)
first-version
))
(
vc-file-setprop
file
'vc-state
'edited
)
(
with-current-buffer
(
get-buffer
"*vc*"
)
(
goto-char
(
point-min
))
(
if
(
re-search-forward
"conflicts during merge"
nil
t
)
1
; signal
error
(
if
(
looking-at
"C "
)
1
; signal
conflict
0
)))
; signal success
(
defun
vc-svn-merge-news
(
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