哪些适用于 Windows 的 Subversion 客户端不需要安装?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/693498/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 06:12:06  来源:igfitidea点击:

What Subversion clients for Windows are there that do not need installation?

windowssvn

提问by Vilx-

A colleague of mine agreed to using Subversion (SVN) for our little project, but only if he doesn't have to install it. He has a U3 USB stickwhere he keeps the project files and he would like the SVN client to live there as well. I tried searching for a non-installable SVN client, but couldn't find anything (although I suspect that many of the available clients would run if just copy-pasted from an installation folder). What can be recommended?

我的一位同事同意在我们的小项目中使用 Subversion (SVN),但前提是他不必安装它。他有一个U3 U 盘,用于保存项目文件,并且他希望 SVN 客户端也能放在那里。我尝试搜索不可安装的 SVN 客户端,但找不到任何东西(尽管我怀疑如果只是从安装文件夹中复制粘贴,许多可用的客户端会运行)。可以推荐什么?

I'd really like to get version control going. It would be best if it had a GUI for merging files too, not just the command line.

我真的很想进行版本控制。如果它也有用于合并文件的 GUI,而不仅仅是命令行,那将是最好的。

Added:The copy-paste from an existing installation is one solution, but I'd like to see first if there perhaps isn't some client that does not require installation by design. If not, I guess RapidSVN is nice enough (although it does leave stuff in Windows registry).

补充:从现有安装中复制粘贴是一种解决方案,但我想先看看是否有一些客户端不需要设计安装。如果没有,我想 RapidSVN 已经足够好了(尽管它确实在 Windows 注册表中留下了一些东西)。

采纳答案by John Feminella

Try RapidSVN. The CollabNet binariescan be used in a similar fashion for command-line support. Yes, these have installers, but you can simply copy the binaries around -- I use Universal Extractorto get the binaries out without having to run the installer.

试试RapidSVN。所述的CollabNet二进制文件可以以类似的方式对命令行支持中使用。是的,这些都有安装程序,但您可以简单地复制二进制文件——我使用Universal Extractor来获取二进制文件,而无需运行安装程序。

Also, an enterprising user has packaged RapidSVN as a PortableApp. There is an "installer", but it really just unzips things into a directory of your choice and writes a default configuration file into that directory.

此外,有进取心的用户将RapidSVN打包为 PortableApp。有一个“安装程序”,但它实际上只是将内容解压缩到您选择的目录中,并将默认配置文件写入该目录。

回答by Lee Kian Giap

Try Alagazam.net's Subversion Windows Installer. There is also a version with just the binaries without an installer.

试试Alagazam.net 的 Subversion Windows Installer。还有一个只有二进制文件而没有安装程序的版本。

回答by Cecil Has a Name

I'd go with the copy and paste the bin folder from SlikSVN.

我会从 SlikSVN 复制并粘贴 bin 文件夹。

EDIT:

编辑:

Seems like SlikSVN is the underlying platform behind several graphical SVN clients. In my experience it seems stable and reliable.

似乎 SlikSVN 是几个图形 SVN 客户端背后的底层平台。根据我的经验,它似乎稳定可靠。

Specifically, the bottom link on this pageseems to be a non-install/xcopy precompiled package (although I haven't tried this one myself, only inspected it). It does not appear to be the newest, though. You might do your friend a favour by installing the newest SlikSVNon your own computer, and then share the bin files with your co-dev.

具体来说,这个页面的底部链接似乎是一个非安装/xcopy 预编译包(虽然我自己没有尝试过这个,只是检查了它)。不过,它似乎不是最新的。您可以通过在您自己的计算机上安装最新的 SlikSVN来帮您的朋友一个忙,然后与您的合作开发人员共享 bin 文件。

回答by TofuBeer

If Java is available on the machines you could use SVNKit.

如果 Java 在机器上可用,您可以使用SVNKit

回答by anand.trex

There's a portable version of SmartSVNwhich is what I use. It's a pretty good SVN client, but it needs JRE. It has a nice GUI and all.

我使用的是SmartSVN的便携式版本。这是一个非常好的 SVN 客户端,但它需要JRE。它有一个很好的 GUI 和所有。

回答by Jens Piegsa

Finally, there is an PortableApps version of RapidSVN:

最后,有一个 RapidSVN 的 PortableApps 版本:

回答by RuntimeException

I may be very late to answer. Another alternative which may be acceptable to some users.

我可能会很晚才回答。某些用户可能接受的另一种选择。

Eclipse IDE is portable (not entirely, it depends on Java). Use the Eclipse SVN plugin (Subversive or Subclipse). This takes care of the daily needs.

Eclipse IDE 是可移植的(不完全是,它依赖于 Java)。使用 Eclipse SVN 插件(Subversive 或 Subclipse)。这可以满足日常需求。

You may choose to point to a Java Portable installation to make it truly portable. However I believe it might be slow to run off a usb pen drive.

您可以选择指向 Java Portable 安装以使其真正可移植。但是,我相信使用 USB 笔式驱动器可能会很慢。

回答by mikew

I've had this same problem, and thought it would be easier to find than it is. Bert Huijben posted the solution as a reply to Cecil, but his link was outdated.

我遇到了同样的问题,并认为它会比现在更容易找到。Bert Huijben 在回复 Cecil 时发布了解决方案,但他的链接已过时。

http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100

http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100

Scroll to the bottom where you can grab a ZIP file of the binaries. It works for me.

滚动到底部,您可以在其中获取二进制文件的 ZIP 文件。这个对我有用。

回答by rlbond

There is a portable version of RapidSVNhere. Just install it to a flash drive.

还有的一个便携版本RapidSVN这里。只需将其安装到闪存驱动器即可。

回答by nevets1219

Alternative Two should be pretty sufficient. But both methods requires installing it to the USB device which I guess is similar to just copying onto it. I checked Wikipediaand there are some standalone listed there.

备选方案二应该足够了。但是这两种方法都需要将它安装到 USB 设备上,我猜这类似于只是复制到它上面。我检查了维基百科,那里列出了一些独立的内容。



EDIT: SmartSVN, QSvn (portable version requires install), SyncrhoSVN (they have version which requires you to extract and run), etc. But is copy + run any different than installing to the USB?

编辑:SmartSVN、QSvn(便携式版本需要安装)、SyncrhoSVN(它们的版本需要你解压和运行)等等。但是复制+运行与安装到USB有什么不同吗?



Alternative OneLoad Cygwin on the USB device, install SVN support and run it off of that. No GUI as far as I know nor have I tried to set one up (which I assume is more than possible) since I've had the luxury of using TortoiseSVN (requires install).

替代方法之一在 USB 设备上加载 Cygwin,安装 SVN 支持并运行它。据我所知,没有 GUI 也没有尝试设置一个(我认为这是不可能的),因为我有幸使用 TortoiseSVN(需要安装)。

Alternative TwoInstall TortoiseSVN on a USB device and use if off of that. Has GUI interface for merging and diff. Thismay be relevant to your interest. However, Google has some results indicting they are slow.

备选方案二在 USB 设备上安装 TortoiseSVN 并在关闭时使用。具有用于合并和差异的 GUI 界面。 可能与您的兴趣有关。然而,谷歌有一些结果表明它们很慢。