svn-checkout

Subversion: Check out only those files affected during a specific commit

谁说胖子不能爱 提交于 2019-11-30 01:57:15
In Subversion, is it possible to check out only those files affected during a specific commit, provided you know the specific revision number? I think that a Subversion check out can only check out a specific folder and not individual files. That said, the command: svn log -r *revision* -q -v will list the changes associated with the specified revision so you could process the output of this command to help copy the desired files to somewhere after checking out a working folder for the full directory. Damian Dennis you can get a list of files modified since a specific revision like this: svn

How can only the files that were modified in a range of SVN revisions be checked out?

喜欢而已 提交于 2019-11-29 23:59:54
问题 Is it possible to checkout only those files from a SVN repository that were modified in a revision or range of revisions, without checking out any files that were not modified? 回答1: My suggestion is in the same lines as flolo suggests. But, takes a range. You could the following shell function. function checkout_files_in_revrange() { svn_url=$1; start_rev=$2; end_rev=$3; for theCheckoutCanditate in `svn log -r $start_rev:$end_rev --verbose --incremental | grep " M " | cut -f5 -d' ' | cut -f3-

Reducing the size of the .svn folder

萝らか妹 提交于 2019-11-29 22:01:23
In our project we made the decision to reduce the build time by using pre-built binaries. Weekly/monthly we create a stable release and commit it to the repository. The build uses these binaries instead of building everything from source. For build speed this is fantastic. But, unsurprisingly, it really bulks up the SVN checkout size. Our trunk currently sits at ~22 GB. I realize this is not the intended usage of Subversion. But we don't have an alternative at the moment. But I'd like to improve the current situation. The .svn folder makes a big contribution to the size of trunk on disk. When

SVN checkout the contents of a folder, not the folder itself

你。 提交于 2019-11-29 18:49:13
I'm fairly new to linux and svn. I'm trying to checkout the trunk folder of a project into my public_html directory using this command (while in public_html): svn checkout file:///home/landonwinters/svn/waterproject/trunk The waterproject directory contains the files from untarring a base install of drupal. It checks out fine, except all the files are in public_html/trunk instead of just being in public_html . I don't know the command to move all the contents of trunk up to public_html and rm trunk, but I think I could figure that out relatively easily. I just want to know if I can just check

How can I list files in CVS without an initial checkout?

▼魔方 西西 提交于 2019-11-29 10:59:48
问题 How can I list files CVS without an initial checkout? In subversion I can simply do "svn ls http://svn.svn.com" in CVS how can I do this? For example I've got this CVS connection: pserver:anonymous@evocms.cvs.sourceforge.net:/cvsroot/evocms How can I list all files in it? UPDATE: I'm doing this: c:\>set CVSROOT=pserver:anonymous@evocms.cvs.sourceforge.net:/cvsroot/evocms c:\>cvs -list ---> doesn't work, prints out the help screen 回答1: If it's a one-off operation you don't need to set the

Checkout the git commit corresponding to a certain revision from the old SVN repository?

我怕爱的太早我们不能终老 提交于 2019-11-29 07:46:20
I migrated my repository from SVN to git. I used THIS site. Now I have a bug in revision X. How do I checkout from my git repository, knowing only the revision number from my old SVN repo? Thank you for your Help. You can find the git commit that corresponds to the Subversion revision with the git svn find-rev subcommand. For example, if you're looking for the commit that corresponds to Subversion revision 3431 you can do: $ git svn find-rev r3431 42ed8bcf690fd0c655c5cee91b09258318fc56e8 Then, to checkout that revision, just use the object name from the first line, e.g. if it's: commit

How to checkout few files and folders alone without checking out entire source

冷暖自知 提交于 2019-11-29 03:08:32
In my project I have many folders. I certainly know I want have changes in only few files (around 15) each of them are in 7 different folders. Also, I don't want to checkout the entire source to accomplish it. Is it possible to checkout only the required folders alone? I'll have this scenario too often for different sources. Is it possible to checkout only selected folders at one shot? Edit Say for example I have a source folder contains. 5 sub-folders. Like, source -- Core -- Helper -- Extensions -- Themes -- Resources And, I want to check-out Extensions and Themes folders alone. But, I don't

Convert an SVN checkout to use git (git-svn)

谁都会走 提交于 2019-11-28 22:36:10
I work with software that is kept in svn for version control. I would like to use git (git-svn) however the software requires lots of setup and configuration before it can be used. There are tools that take care of all of the setup, including checking out all the code via svn. All the documentation for git-svn (I've been able to find) requires a fresh checkout, using git-svn. Is there a way to convert an existing svn checkout so it can use git-svn? You could do something like this: Do a full clone of your SVN tree using git-svn, to a temporary directory. Make sure you use the exact same

Reducing the size of the .svn folder

回眸只為那壹抹淺笑 提交于 2019-11-28 18:11:17
问题 In our project we made the decision to reduce the build time by using pre-built binaries. Weekly/monthly we create a stable release and commit it to the repository. The build uses these binaries instead of building everything from source. For build speed this is fantastic. But, unsurprisingly, it really bulks up the SVN checkout size. Our trunk currently sits at ~22 GB. I realize this is not the intended usage of Subversion. But we don't have an alternative at the moment. But I'd like to

SVN checkout the contents of a folder, not the folder itself

北城余情 提交于 2019-11-28 13:46:13
问题 I'm fairly new to linux and svn. I'm trying to checkout the trunk folder of a project into my public_html directory using this command (while in public_html): svn checkout file:///home/landonwinters/svn/waterproject/trunk The waterproject directory contains the files from untarring a base install of drupal. It checks out fine, except all the files are in public_html/trunk instead of just being in public_html . I don't know the command to move all the contents of trunk up to public_html and rm