subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <>
Subject Re: svnmucc: new commands: add and modify/update
Date Wed, 22 Jul 2020 23:59:14 GMT
sebb wrote on Wed, 22 Jul 2020 22:44 +0100:
> The SVN put command can add a new file or update an existing one.
> As part of a batch update it may be necessary to ensure that a
> particular file will be created and not updated - or vice versa.
> That is currently not at all easy to do, which is a shame as svnmucc
> is otherwise very useful for writing atomic updates that are not
> possible with the svn client.

What can svnmucc(1) do that svn(1) can't?

> Would there be any support for extending svnmucc to add these operations?
> Either as options to put, or as separate commands.

The standard solutions for your situation are:

- Get HEAD's value as an integer
- Check file existence/inexistence in that revision
- Run 'svnmucc -r'

svn co --depth=empty $URL wc
svn up --set-depth=infinity wc/foo
# (as posted in

In what ways do they fall short?

View raw message