我有一个存放处,负责利用<代码>svn:外部<<>/代码>的存放处更新外部图书馆的档案。 问题在于,我需要从该图书馆的一位负责人那里发表一份功能声明,并将经过修改的负责人带上根库。
这样做是否可行,以便当图书馆得到更新时,它优先于我版本的具体档案?
我有一个存放处,负责利用<代码>svn:外部<<>/代码>的存放处更新外部图书馆的档案。 问题在于,我需要从该图书馆的一位负责人那里发表一份功能声明,并将经过修改的负责人带上根库。
这样做是否可行,以便当图书馆得到更新时,它优先于我版本的具体档案?
你们想要的是像“供应商分支”的设想。
root
|-- myproject
|
-- mycode
|
-- library -> svn:externals to a remote svn or your own libraryproject
uggested Deposit
root
|-- myproject
|
-- mycode
|
-- library -> copied/branched from ^/vendor/library/current (modified at this location as much as you like)
|
-- vendor
|
--library
|
--current
|
--imported-version-1.0
|
--imported-version-1.1
www.un.org/Depts/DGACM/index_spanish.htm 如何创造布局
• 建立^/供应商/图书馆/现有和DOWNLOAD原始未经修改的图书馆代码。
svn commit ^/vendor/library/current
svn cp ^/vendor/library/current ^/vendor/library/imported-version-1.0 (tag the import)
svn cp ^/vendor/library/current ^/myproject/library (branch the code into your project)
修改^/米项目/图书馆和承诺
www.un.org/Depts/DGACM/index_spanish.htm 如何更新图书馆,同时又不失去改动。
将图书馆的最新原始版本下载到^/vendor/library/当期综合档案中。
svn commit ^/vendor/library/current (checks in the difference between the two library releases)
svn cp ^/vendor/library/current ^/vendor/library/imported-version-1.1 (tag the change)
cd /your-local-workspace/myproject/library (will be merge target)
svn merge ^/vendor/library/current (get all CHANGES from the upstream branch and apply them to your modified library)
svn commit
利润
您不能将“现成”直接投入你的项目中,而是可以投向“经修改的校准”名录,并通过外部加以利用。 如果你有多个项目需要同样修改的图书馆版本,将予以建议。
铭记供应商分行将存在与改名和删除有关的问题,因为这些问题无法通过透镜跟踪。 跨国托存的合并对于SVN来说是一个不同而比较年轻的专题。
如果你尝试这样做,就向我们反馈如何做到:
Christoph
还没有一个帮助你实现这一目标的特征。
处理这一问题的一般做法是:使图书馆成为图书馆的一个分支,然后由您重新使用,从而改变你们在那里的需要,并利用新设立的分支作为根本项目的外部机构。 在我的经验中,我发现这是你所描述问题的简单而有效的解决办法。
I have a svn repo with various apps as subdirectory of a single svn repo. That worked because I could have checked out a partial, repo. As I cant do that with git obviously I need multiple repos. I ...
I ve recently started working on various C# projects in Visual Studio as part of a plan for a large scale system that will be used to replace our current system that s built from a cobbling-together ...
I m trying to commit some work, but svn always fails and tells me that a file I modified is out of date. I tried updating first, that doesn t work. Cleanup doesn t work. If I revert the file, copy my ...
我制作了一个外事文件,将印刷成文件,以了解它收到的第一和第二个论点。
I am using SVN+SSH to check out a working copy of repository from an SVN server on which all developers are members of a developer group and have full read/write permissions on the repository ...
A subversion repository contains the html, latex and man directories that doxygen generates from the source code. Even for small source code changes, new files are being generated with random names ...
So, I have an asp.net mvc app that is being worked on by multiple developers in differing capacities. This is our first time working on a mvc app and my first time working with .NET. Our app does not ...
Is there a way to search for a file in a subversion repository? Something similar to Unix find command, with which I can find the location of a file in a repository. I know there is svn list, but ...