Ben Collins-Sussman <sussman@newton.collab.net> writes:
> Ideas for command line switches that deal with XML files:
>
> * Sending "officially"
> svn commit -o file.xml -v 38
> (The -v flag defines an imaginary version number that would
> normally returned by the repository upon a successful commit.
> This new version number is recorded in administrative files.)
>
> * Sending "under the table"
> svn commit -o file.xml
> (Without a -v flag, the admin files aren't changed at all; this
> command does nothing but generate a delta.)
>
> * Receiving "officially"
> svn update -o file.xml
> svn checkout -o file.xml
> (A normal working copy update or checkout.)
>
> * Receiving "under the table"
> svn update -o file.xml -p
> (? Perhaps the -p means "patch only, don't actually record an update.")
>
> So there's a first draft, a blueprint for the bike-shed.
>
> Thoughts? :)
I like it. Recommend that the xml-file switch be the same in all
cases, but that it not be "-o", since that's a mnemonic for
"--output-file", which is the wrong direction for updates.
How about "--xml-file"? :-)
Received on Sat Oct 21 14:36:10 2006