[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Proposed feature: safer alternative to svnput

From: Karl Fogel <kfogel_at_red-bean.com>
Date: Fri, 05 Sep 2008 16:10:02 -0400

Markus Kuhn <Markus.Kuhn_at_cl.cam.ac.uk> writes:
> "C. Michael Pilato" wrote on 2008-09-05 17:33 UTC:
>> Markus Kuhn wrote:
>> > It would be extremely useful if Subversion allowed me to modify a file
>> > that I supply to the svn command from standard input, without having to
>> > check out a working directory first. Main application would be a
>> > wiki-style CGI editor that allows users to modify individual files in an
>> > a repository. (A "svn checkout -N" is messy as it generates an entire
>> > directory with other unneeded files that need to be preserved across CGI
>> > calls and cleaned up afterwards reliably.)
>>
>> Ah, but were you aware of:
>>
>> svnmucc --revision BASEREV -m "Log Message" put SRC-FILE URL
>
> No, I wasn't. This looks indeed very promising, thanks for the pointer!
>
> Any chance that this will be fully documented and merged into the main
> svn client one day?
>
> Can it read SRC-FILE from stdin?

No, I don't think it can.

I'd love to see the svnmucc functionality subsumed into the 'svn'
client. Note that there's been talk of writing a "shell" mode for
'svn'. It would achieve svnmucc's multi-operation feature something
like this:

   svn shell
> open http://my.repos.com/trunk/
> mv README README.txt
> rm README.MSDOS
> mkdir build
> [...]
> commit

...where "commit" means the same thing it does in a db client :-).
(You could imagine other commands to cat in or out of a file, too.)

By the way, are you this Markus Kuhn?

   http://www.cl.cam.ac.uk/~mgk25/unicode.html

Yay, if so :-).

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-09-05 22:10:16 CEST

This is an archived mail posted to the Subversion Dev mailing list.