TortoiseSVN: Adding additional files after using SVN Checkout dialog “Only this item” option

You right-click on the root, select repo-browser, find the relevant bits you want to download to your working copy, right click and select the “update to revision”. To remove items you have downloaded, right click on the item in your working copy, select the same menu (update to revision) and select “exclude” from the depth … Read more

svn checkout depth

What you need is called sparse checkout. In your case you can: svn co –depth files file:///project project cd project svn up –set-depth infinity dir1 dir2 dir4 svn up –set-depth empty dir3 svn up –set-depth infinity dir3/subdir1 dir3/subdir3 Can I add subdir2 to dir3 after a checkout? Yes: svn up –set-depth infinity dir3/subdir2 How can … Read more

How do I only Checkout (pull down) only parts of an SVN tree with TortoiseSVN?

It looks like you were successful but I wanted to include a step-by-step guide in the hopes that it is helpful to others. Checkout trunk into a working copy with depth = “Only this item” Open working copy Go to repo browser from the working copy Select your desired project subfolder(s), right-click and select “Update … Read more

Reducing the size of the .svn folder

There’s no way to get rid of the need to store pristines at this point. It’s been talked about but it’s actually not an easy problem to solve because there’s so many different use case situations that would be presented by removing them optionally. With 1.7 the pristine storage was changed and in some cases … Read more

Subversion: Can I checkout, modify, and then make it a branch?

The SVN Book (http://svnbook.red-bean.com/en/1.6/svn-book.html#svn.branchmerge.using.create) doesn’t recommend creating a branch from the local working copy. While it’s also possible to create a branch by using svn copy to duplicate a directory within the working copy, this technique isn’t recommended. It can be quite slow, in fact! Copying a directory on the client side is a linear-time … Read more

SVN checkout ignore folder

You can’t directly ignore folders on a checkout, but you can use sparse checkouts in svn 1.5. For example: $ svn co http://subversion/project/trunk my_checkout –depth immediates This will check files and directories from your project trunk into ‘my_checkout’, but not recurse into those directories. Eg: $ cd my_checkout && ls bar/ baz foo xyzzy/ Then … Read more

How to git-svn clone the last n revisions from a Subversion repository?

You’ve already discovered the simplest way to specify a shallow clone in Git-SVN, by specifying the SVN revision number that you want to start your clone at ( -r$REV:HEAD). For example: git svn clone -s -r1450:HEAD some/svn/repo Git’s data structure is based on pointers in a directed acyclic graph (DAG), which makes it trivial to … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)