svn-externals

How to check out SVN external URL directly?

谁说我不能喝 提交于 2021-02-08 05:15:34
问题 I have a Subversion repository that contains some client files. Some clients will use the standard files, but other clients will provide custom versions of the files. To accommodate this, I've used svn:externals for the clients that will use the shared files. So our structure is something like this: svn |+ top |+ shared |+ clients |+ custom1 |+ custom2 |+ shared1 |+ shared2 The client "custom1" is a real folder in Subversion containing that client's customized files, and the client "shared1"

Trying to create a pre-commit hook that verify externals

痞子三分冷 提交于 2020-01-16 19:17:06
问题 I am currently trying to create a pre-commit hook that prevent user to tag a version of code with external that are not tags. I am just trying to figure out a way to get the external that are specify in a transaction but cant figure out how. The command svnlook dont seem to be able to return anything that remotely look like externals modification. And with the svn command it seem to be the transaction that I am unable to specify. I have no idea what command to use in my pre-commit hook. I am

What's the benefits of “svn:externals”?

半腔热情 提交于 2019-12-30 10:26:27
问题 I would not get to know svn:externals if I haven't run into the this page. So, I setup my working folder. Then mkdir lib/vendor svn add --parents lib/vendor svn ps svn:externals 'symfony http://svn.symfony-project.com/branches/1.4/' lib/vendor/ svn ci -m "add externals" svn update The "svn update" enlists the whole symfony folder and is pretty slow. I thought that would be single time pain. However, SVN will check external repository every time I typed "svn up". I have to use --ignore

git & svn externals - a final solution yet?

亡梦爱人 提交于 2019-12-20 17:29:38
问题 this is the workflow I currently use for my svn projects (I never use svn branches, and some projects are actively worked on by other people as well): on the server, do the inital git svn fetch which might take hours. Also create a 'build' branch. on a development machine cloning is now fast: git clone srv://project.git, git checkout build followed by git update-refs ..., git svn fetch to restore the link to the svn repository work, commit, work commit, ... to check if things are sane, git

git & svn externals - a final solution yet?

自闭症网瘾萝莉.ら 提交于 2019-12-20 17:29:22
问题 this is the workflow I currently use for my svn projects (I never use svn branches, and some projects are actively worked on by other people as well): on the server, do the inital git svn fetch which might take hours. Also create a 'build' branch. on a development machine cloning is now fast: git clone srv://project.git, git checkout build followed by git update-refs ..., git svn fetch to restore the link to the svn repository work, commit, work commit, ... to check if things are sane, git

Is the subprepos feature in Mercurial 1.4.x ready for production use?

半城伤御伤魂 提交于 2019-12-18 05:57:31
问题 I'd like to evaluate Mercurial for my working projects. But most of my projects very heavily rely on the presence of svn:externals-like support. I've searched over StackOverflow and googled for corresponding support in Mercurial. All I found is subrepo feature added in Mercurial 1.3, but the page for this feature said: subrepos are an experimental feature for Mercurial 1.3. So don't do this on mission critical repositories! I don't want to use something unstable. Can anybody shed some light

Shared components throughout all projects, is there a better alternative than svn:externals?

依然范特西╮ 提交于 2019-12-18 04:35:10
问题 My situation: I have several components, which sometimes have changes to them, and are shared across a lot of different projects. Each project puts these in a subfolder called /depends. The depends holds a bunch of svn externals for all of our common components. svn:externals is causing me a lot of time and pain. Show log on the project root folder will not show changes for svn:external folders (yet funny enough commit and update will work with svn:externals) When you branch, the svn

Subversion svn:externals file override?

余生颓废 提交于 2019-12-17 19:29:23
问题 I have a repository for one of my projects that has a nested repository using the svn:externals property to update files from an external library. The problem is that I need to comment out one of the function declarations from one of the headers in this library, and carry around the modified header with the root repository. Is there a way that this could be done, so that when the library is updated, it overrides that specific file with my version of it? 回答1: What you want sounds like a

Svn repository stopped working with svn+ssh (but works locally on the server)

我们两清 提交于 2019-12-12 09:39:26
问题 I had an svn repository that I used to checkout with the svn+ssh protocol. It has some EXTERNALS in it that refer to itself with the svn+ssh URL. I was off this project for a while until today. When I try to access the svn+ssh url (that used to work some months ago) I get the message svn: No repository found in 'svn+ssh://my-correct.hostname.com/the/right/path/to/the/repository . I double checked, and both the path and the hostname are correct. I tried to check it out on the machine hosting

SVN: branch of read only repository?

萝らか妹 提交于 2019-12-12 02:30:02
问题 I have access to a read-only SVN repository of a certain project. I want to extent this project with my own modifications/additions. If I had full access to this repo, i could simply make my own development branch. However, I have not (and won't get write access). I would like to have my modifications stored in an (internal) repository so I can keep track of my own developments. Is it possible to set up a construction using SVN that can deal with this? Initially I was thinking about creating