How can I remove the working copy from a Mercurial clone?

Documentation at Mercurial wiki says following about bare repositories: “Although this is a minor issue, Mercurial can obviously handle a bare repository; that is, a repository without a working copy. In Git you need a configuration option for that, whereas in Hg you only need to check out the null revision, like this:“ hg update … Read more

What is a working copy and what does “switching” do for me in Tortoise SVN?

A working copy is the copy you have checked out to your working area. It doesn’t matter if it is a branch or from the trunk. It’s what you are working on. You can switch between branches (or more correctly copies) of the same parent with svn switch. This will basically say, what’s different between … Read more

How can I make my local repository available for git-pull?

Five possibilities exist to set up a repository for pull from: local filesystem: git clone /path/to/repo or git clone file://path/to/repo. Least work if you have networked filesystem, but not very efficient use of network. (This is almost exactly solution proposed by Joakim Elofsson) HTTP protocols: git clone http://example.com/repo. You need any web server, and you … Read more

SVN upgrade working copy

You have to upgrade your subversion client to at least 1.7. With the command line client, you have to manually upgrade your working copy format by issuing the command svn upgrade: Upgrading the Working Copy Subversion 1.7 introduces substantial changes to the working copy format. In previous releases of Subversion, Subversion would automatically update the … Read more

git status shows modifications, git checkout — doesn’t remove them

I was having this problem on Windows but wasn’t prepared to look into the ramifications of using config –global core.autocrlf false I also wasn’t prepared to abandon other private branches and goodies in my stash and start with a fresh clone. I just need to get something done. Now. This worked for me, on the … Read more

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