'svn merge' interface
From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-04-03 00:08:09 CEST
So I've searched the mail archives for our discussion about exactly what
Here are my thoughts about the interfaces to 'svn diff' and 'svn
Here are my notes, hopefully they're clear to the list. The sections
* USES of 'svn diff':
- usecase #1: purely local:
svn diff wcpath
Compares working files to text-bases, revealing local mods only.
- usecase #2: dry-run update:
Client reports state, server drives an update through a
- usecase #3: pure repository-side diff:
svn diff <location> -r N:M
Two versions of the same fs path are diffed on server, diffs
A. no wc required: svn diff URL -r N:M
* USES of 'svn merge':
- usecase #1: dry-run update:
svn merge wcpath -r N
Client reports state, server drives an update through a
XXX Doesn't work yet, but only for stupid reasons, not
- usecase #2: pure repository-side diff:
svn merge <location> -r N:M
Two versions of the same fs path are diffed on server, and
A. no wc required: svn merge URL -r N:M
B. wcpath converted to URL: svn merge wcpath -r N:M
- usecase #3: merging an arbitrary changeset:
svn merge URL1 -r N URL2 -r M
XXX Do we want to allow this? I say yes. Flexibility.
XXX Syntax problem: how do we specify two independent revs?
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.