Re: Searching entire repository for a file (fastsvncrawler)

2020-07-23 Thread Stefan Sperling
On Wed, Jul 22, 2020 at 03:36:36PM -0700, Kenneth Porter wrote: > I need to locate a file in a client's large repository. I found > fastsvncrawler which uses svn_ra_do_status2 to rapidly dump the entire > repository as a directory listing. Has anyone built a Windows binary? Or > perhaps it's made i

Re: Searching entire repository for a file (fastsvncrawler)

2020-07-23 Thread Stefan Sperling
On Thu, Jul 23, 2020 at 11:54:52AM +0200, Stefan Sperling wrote: > On Wed, Jul 22, 2020 at 03:36:36PM -0700, Kenneth Porter wrote: > > I need to locate a file in a client's large repository. I found > > fastsvncrawler which uses svn_ra_do_status2 to rapidly dump the entire > > repository as a direc

Re: svnmucc --revision 0 no longer works when creating a file

2020-07-23 Thread sebb
On Thu, 23 Jul 2020 at 01:17, Daniel Shahaf wrote: > > sebb wrote on Wed, 22 Jul 2020 22:34 +0100: > > On Wed, 22 Jul 2020 at 17:46, Nathan Hartman > > wrote: > > > > > > On Wed, Jul 22, 2020 at 12:10 PM sebb wrote: > > > > > Use the machine-parseable E42 error codes. That's exactly what >

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

2020-07-23 Thread sebb
On Thu, 23 Jul 2020 at 00:59, Daniel Shahaf wrote: > > 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 v

Re: Searching entire repository for a file (fastsvncrawler)

2020-07-23 Thread Kenneth Porter
--On Thursday, July 23, 2020 12:54 PM +0200 Stefan Sperling wrote: Are you aware of the built-in svn list --search feature, which has been available since SVN 1.10.0? For example: $ svn list --depth=infinity --search svn.c ^/subversion/trunk subversion/svn/svn.c $ Also as of SVN 1.10 the se

Re: Searching entire repository for a file (fastsvncrawler)

2020-07-23 Thread Stefan Sperling
On Thu, Jul 23, 2020 at 08:05:12AM -0700, Kenneth Porter wrote: > --On Thursday, July 23, 2020 12:54 PM +0200 Stefan Sperling > wrote: > > > Are you aware of the built-in svn list --search feature, which has > > been available since SVN 1.10.0? > > > > For example: > > > > $ svn list --depth=in

Re: Searching entire repository for a file (fastsvncrawler)

2020-07-23 Thread Kenneth Porter
--On Thursday, July 23, 2020 6:22 PM +0200 Stefan Sperling wrote: Some servers will advertise the SVN version on pages which can be visited with a web browser. But this depends on the server's configuration. You may have to ask the administrator to be sure about the server's exact version. D

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

2020-07-23 Thread Daniel Shahaf
sebb wrote on Thu, 23 Jul 2020 11:30 +0100: > On Thu, 23 Jul 2020 at 00:59, Daniel Shahaf wrote: > > > > 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

Re: svnmucc --revision 0 no longer works when creating a file

2020-07-23 Thread Daniel Shahaf
sebb wrote on Thu, 23 Jul 2020 11:18 +0100: > On Thu, 23 Jul 2020 at 01:17, Daniel Shahaf wrote: > > You can either parse stderr despite this complication, or use the > > API directly, in which case you'll sidestep this complication entirely > > (you'll get just one integer, rather than two). >

Re: Searching entire repository for a file (fastsvncrawler)

2020-07-23 Thread Daniel Shahaf
Stefan Sperling wrote on Thu, 23 Jul 2020 17:22 +0200: > Some servers will advertise the SVN version on pages which can be visited > with a web browser. But this depends on the server's configuration. You may > have to ask the administrator to be sure about the server's exact version. > > If the s

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

2020-07-23 Thread sebb
On Thu, 23 Jul 2020 at 23:44, Daniel Shahaf wrote: > > sebb wrote on Thu, 23 Jul 2020 11:30 +0100: > > On Thu, 23 Jul 2020 at 00:59, Daniel Shahaf wrote: > > > > > > sebb wrote on Wed, 22 Jul 2020 22:44 +0100: > > > > The SVN put command can add a new file or update an existing one. > > > > > > >

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

2020-07-23 Thread Daniel Sahlberg
Den fre 24 juli 2020 01:46sebb 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 th

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

2020-07-23 Thread Daniel Shahaf
Daniel Sahlberg wrote on Fri, 24 Jul 2020 05:53 +00:00: > Den fre 24 juli 2020 01:46sebb 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