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

Re: svnmucc: new commands: add and modify/update

From: sebb <sebbaz_at_gmail.com>
Date: Fri, 24 Jul 2020 10:49:00 +0100

On Fri, 24 Jul 2020 at 07:06, Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:
>
> Daniel Sahlberg wrote on Fri, 24 Jul 2020 05:53 +00:00:
> > Den fre 24 juli 2020 01:46sebb <sebbaz_at_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.
Received on 2020-07-24 11:49:23 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.