externals

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

Subversion - where should the svn:externals come from?

[亡魂溺海] 提交于 2020-01-03 17:30:36
问题 I am about to establish a rule at work here that all svn:externals references should come from the one of the other project's tag, never from its trunk or from any of its branches. Is this a reasonable rule or do you see problems / issues with this approach? I am trying to achieve a stable development environment and I wonder if this rule would make development slower or more difficult. 回答1: Your concern is that a project with "svn:externals" can change without any commits to that project.

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

“svn list” ignores externals

倖福魔咒の 提交于 2019-12-24 03:49:06
问题 i have a directory called 'library' in my SVN tree which uses externals to load libs such as zend framework/smarty/.... im using a self written tool which uses "svn list" where i can select files which should be uploaded to the servers and it seems svn list doesnt load external props and thus the library directory is empty which means i cant upload the libs using my tool so the question: is there any option to have 'svn list' also load the externals? thx 回答1: The solution would be to call:

Adapting svn:externals usage for move to Mercurial

人走茶凉 提交于 2019-12-17 16:23:07
问题 We've got in a corporate environment an svn repository structure which looks like this: root libs shared_lib1 shared_lib2 private_lib public_code private_code where public_code is an external repository which is open source and where people from outside the company have read-write-access. shared_lib1 and shared_lib2 are also external repositories shared with a different group of programmers from an other company. I'm the maintainer and can do basically whatever is technically best, the

Is there an GIT alternative for SVN Externals?

时光怂恿深爱的人放手 提交于 2019-12-11 11:11:20
问题 I currently use SVN to manage jboss server configurations and i need to have several copies of the same sub-directory in each working copy, but referencing the same directory on the server so that when i change some file, every copy gets the update. Example: /server/bin (shared) /server/node-01 (copy of repository /server/node) /server/node-02 (copy of repository /server/node) Is it possible to achieve the same using git? I could not find a definitive answer in the (maney) similar questions.

Is it possible to peg a Mercurial subrepo to a specific revision (like svn:externals)?

一世执手 提交于 2019-12-07 07:39:57
问题 I'm migrating a set of projects from Subversion to Mercurial. The projects currently use svn:externals to pull code from one into the others. I've been following the recommendation to point externals to a specific revision number and manually update it as needed (so that when I update to a past revision of the main project, I get the past version of the externals too). The way to do externals in Mercurial seems to be with subrepos, but I don't see a way to peg them to a specific revision - it

svn externals … yes or no?

社会主义新天地 提交于 2019-12-06 03:45:37
问题 I've read a few answers on here that condemn the use of svn:externals. I do see how they can be misused, and it does make us more dependent on Subversion, but I really don't see our group moving away from it anytime soon. Anyway, here's my dilemma. We have Solutions that reference multiple Projects which are in their own section of the repository. Many of these Projects are shared between multiple Solutions, and we also don't want to preclude the sharing of our Projects. We also have several

Is it possible to peg a Mercurial subrepo to a specific revision (like svn:externals)?

为君一笑 提交于 2019-12-05 18:03:47
I'm migrating a set of projects from Subversion to Mercurial. The projects currently use svn:externals to pull code from one into the others. I've been following the recommendation to point externals to a specific revision number and manually update it as needed (so that when I update to a past revision of the main project, I get the past version of the externals too). The way to do externals in Mercurial seems to be with subrepos, but I don't see a way to peg them to a specific revision - it looks like Hg will always update the subrepos to the latest revision whenever I update the main repo.

Don't show svn:externals in svn status

淺唱寂寞╮ 提交于 2019-12-04 16:33:43
问题 I've made one svn:external in my repository. Everything works fine, except the output of the svn status command. In the output there is lot of information I don't need: $ svn st X lib Performing status on external item at 'lib' I can run svn st --ignore-externals -q and I can place this line in a small script, but maybe there is better solution. How can I see status of my working copy without seeing info about externals? 回答1: That seems to be the proper way to ignore externals to appear in