PoshSvn – Subversion for PowerShell
Hello everyone! I like Subversion and use it for my projects. PoshSvn is a PowerShell module which provides a tab competition and typed output for the Subversion cmdlets. I found it useful for scripting and everyday life. For example to get the status of a working copy, you could use the svn-status cmdlet: [[[ PS C:\> svn-status Status Path -- M PoshSvn\CmdLets\SvnAdd.cs M PoshSvn\CmdLets\SvnLog.cs M PoshSvn\SvnCmdletBase.cs M README.md ]]] This is useful for scripting because of typed output. For example: [[[ PS C:\> $info = svn-info https://svn.apache.org/repos/asf PS C:\> $info.Revision 1917749 PS C:\> $info.LastChangedAuthor projects_role ]]] Documentation is available at: https://www.poshsvn.com/ The installation is very easy. Just type `Install-Module PoshSvn` in the PowerShell command prompt. This module is fully free and open source. Any kind of feedback would be much appreciated. Thanks! -- Timofei Zhakov
RE: [EXTERNAL] Re: svn checkout Hangs/Crashes/Succeeds Over HTTP
> > > > I've tried with multiple repos of different sizes and ages. The > > > smaller repo I mentioned has about 150 files in trunk, mostly 50 KB > or > > > smaller, and about 500 revisions. A larger repo with the same > problems > > > has about 5000 files in trunk and 10,000 revisions. > > > > > > That *hints* at an httpd tuning issue, but I'm not sure. Check the > httpd > > > logs? > > > > The httpd logs show no signs of a problem. Success and failure cases > look the same in the logs. > > In your initial post your mentioned: > > >>> svn 1.10.2 was failing the same way before we upgraded to 1.14.1 as > a possible fix. > > So the problem isn't new after the upgrade. Agreed. I see no change in behavior, good or bad, between SVN 1.10.2 and 1.14.1 for the many tests I've run. > BTW: as Daniel asked: You previously mentioned Subversion 1.14.1, is > that on the server or on the client? I've been testing with SVN 1.14.1 on both the client and server. > Regardless, since the issue manifests on the client-side by hangs and > crashes while waiting for / processing data from the server (hangs > inside libsvn_ra_serf), I'd suggest also to investigate whether there > is something in between your client and your server that might be > interfering. A proxy or reverse proxy perhaps? Or some security > software on the client that interferes with the network (as some > antivirus suites do on Windows)? If so, try to bypass it (or disable / > create an exclude rule), as a diagnostic step to see whether this > might be the cause. I don't think we have anything inserted between client and server, but will ask those smarter than me if they know of such a thing. I do have an update. My system administrator was surprised to see the server machine configured to support both version 4 and 6 IP addresses. He thought the latter were turned off. After that change, checkouts were noticeably faster, and hangs and crashes were noticeably less frequent. The repo size needed to trigger them appeared to grow some. Though a step forward, the configuration still isn't useable. It might also point at further network configuration problems as a cause, though the SVN client probably shouldn't crash in any case. Thanks for the reply. Jim
Re: PoshSvn – Subversion for PowerShell
On Thu, May 16, 2024 at 1:50 PM Timofey Zhakov wrote: > > Hello everyone! > > I like Subversion and use it for my projects. > > PoshSvn is a PowerShell module which provides a tab competition and > typed output for the Subversion cmdlets. I found it useful for > scripting and everyday life. > > For example to get the status of a working copy, you could use the > svn-status cmdlet: > > [[[ > PS C:\> svn-status > > Status Path > -- > M PoshSvn\CmdLets\SvnAdd.cs > M PoshSvn\CmdLets\SvnLog.cs > M PoshSvn\SvnCmdletBase.cs > M README.md > ]]] > > This is useful for scripting because of typed output. For example: > > [[[ > PS C:\> $info = svn-info https://svn.apache.org/repos/asf > PS C:\> $info.Revision > 1917749 > PS C:\> $info.LastChangedAuthor > projects_role > ]]] > > Documentation is available at: https://www.poshsvn.com/ > > The installation is very easy. Just type `Install-Module PoshSvn` in > the PowerShell command prompt. > > This module is fully free and open source. > > Any kind of feedback would be much appreciated. > > Thanks! > > -- > Timofei Zhakov Thanks for sharing! I'm not a Windows user or a PowerShell user so I can't try it out for myself, but I am always glad to hear about new additions to the Subversion ecosystem. If you ever feel like participating in Subversion development, there are plenty of opportunities around here :-) Cheers, Nathan