Skip to Content
Linux in a Nutshell, 6th Edition
book

Linux in a Nutshell, 6th Edition

by Ellen Siever, Stephen Figgins, Robert Love, Arnold Robbins
September 2009
Beginner
942 pages
85h 34m
English
O'Reilly Media, Inc.
Content preview from Linux in a Nutshell, 6th Edition

Name

resolve

Synopsis

svn resolve path ...

Remove the conflicted state on working-copy files or directories. This command does not semantically resolve conflict markers; instead it replaces path and then removes conflict-related artifact files. Use the --accept argument to specify what version to use when replacing path. This command allows path to be committed again by telling Subversion that the conflicts have been resolved. Use it after you have resolved the conflict in the file. You can pass the following arguments to the --accept option:

Alternate names: none

Changes: working copy

Accesses repository: no

Options

--accept arg
--depth arg
--quiet (-q)
--recursive, -R
--targets filename

Example

If you get a conflict on an update, your working copy will contain three additional files:

$ svn update
Conflict discovered in 'foo.c'.
Select: (p) postpone, (df) diff-full, (e) edit,
        (h) help for more options: p
C    foo.c
Updated to revision 31
$ svn resolve --accept mine-full foo.c
Resolved conflicted state of 'foo.c'

Tip

You can just remove the conflict files and commit, but svn resolve fixes up some bookkeeping data in the working-copy administrative area in addition to removing the conflict files, so you should use this command.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Unix in a Nutshell, 4th Edition

Unix in a Nutshell, 4th Edition

Arnold Robbins
Linux Under the Hood

Linux Under the Hood

Sander van Vugt
Linux Kernel in a Nutshell

Linux Kernel in a Nutshell

Greg Kroah-Hartman

Publisher Resources

ISBN: 9780596806088Errata Page