Proposed feature: safer alternative to svnput
From: Markus Kuhn <Markus.Kuhn_at_cl.cam.ac.uk>
Date: Thu, 04 Sep 2008 15:58:44 +0100
It would be extremely useful if Subversion allowed me to modify a file
I am aware of
http://svn.collab.net/repos/svn/trunk/tools/examples/svnput.c
but this tool seems dangerous as it might overwrite files that I have
With this little option, svnput would become as safe as svn commit, and
For extra points, the improved svnput could also offer the user to merge
How this suggested new function could look like on the command line:
svn put BASE URL
if the file at URL has currently revision BASE, then overwrite it
svn put -m BASE URL
as before, but if the file at URL has currently revision HEAD later
svn put BASE URL PATH
as before, but use the file at PATH instead of stdin
For even more extra points:
svn put BASE URL PATH URL PATH ...
as before, but overwrite two or more files as part of the same transaction
Markus
-- Markus Kuhn, Computer Laboratory, University of Cambridge http://www.cl.cam.ac.uk/~mgk25/ || CB3 0FD, Great Britain --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org For additional commands, e-mail: dev-help_at_subversion.tigris.orgReceived on 2008-09-05 19:27:45 CEST |
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.