On Fri, 24 Jul 2020 at 07:06, Daniel Shahaf <d...@daniel.shahaf.name> wrote:
>
> Daniel Sahlberg wrote on Fri, 24 Jul 2020 05:53 +00:00:
> > Den fre 24 juli 2020 01:46sebb <seb...@gmail.com> skrev:
> > > I am suggesting that 'add' functionality could be added to svnmucc itself.
> > > This would make it more versatile, especially for use in shell scripts.
> >
> > Unless I'm mistaken, add is a purely local action within a working
> > copy. And the point with svnmucc is that you work with a repository
> > without having a wc. How should add work with svnmucc?
>
> It would work exactly like «svnmucc put $dirent $URL», except that it
> would fail if $URL already exists, similar to open(O_EXCL) in C.

Yes, please!

Note that svn add is indeed local, but the commit will fail if the
remote file exists.

Reply via email to