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

Set Git submodule to shallow clone & sparse checkout?

With git1.8.4 (July 2013), in addition git shallow update for submodule (git submodule update –depth 1), you now can have a custom update: In addition to the choice from “rebase, merge, or checkout-detach”, “submodule update” can allow a custom command to be used in to update the working tree of submodules via the “submodule.*.update” configuration … Read more

Change depth in existing SVN working copy without redownloading

Woo hoo, I had this problem, and TortoiseSVN has supported solutions for both add and delete an item from the sparse checkout. http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-checkout.html 1.To add: In windows explorer, Right click on the checked out folder, then use TortoiseSVN ? Repo-Browser to bring up the repository browser. Find the sub-folder you would like to add to … Read more

Alter repository directory structure using sparse checkout

You still need to clone the whole repository, which will have all the files. You could use the –depth flag to only retrieve a limited amount of history. Once the repository is cloned, the read-tree trick limits your “view” of the repository to only those files or directories that are in the .git/info/sparse-checkout file. I … Read more

github/git Checkout Returns ‘error: invalid path’ on Windows

After I opened an issue on the git-for-windows bug tracker (https://github.com/git-for-windows/git/issues/2803), I found that my issue had already been filed as https://github.com/git-for-windows/git/issues/2777. That issue suggested that I need to set another git flag: git config core.protectNTFS false This (#2777) indeed contains a bypass for the my problem. I hope the git or git-for-windows (who were … Read more

Can you do a partial checkout with Subversion?

Indeed, thanks to the comments to my post here, it looks like sparse directories are the way to go. I believe the following should do it: svn checkout –depth empty http://svnserver/trunk/proj svn update –set-depth infinity proj/foo svn update –set-depth infinity proj/bar svn update –set-depth infinity proj/baz Alternatively, –depth immediates instead of empty checks out files … Read more

Checkout subdirectories in Git?

Sparse checkouts are now in Git 1.7. Also see the question “Is it possible to do a sparse checkout without checking out the whole repository first?”. Note that sparse checkouts still require you to download the whole repository, even though some of the files Git downloads won’t end up in your working tree.

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