Why ‘hg mv’ (mercurial) doesn’t move a file’s history by default?

You can can change the default behaviour of log: in your ~/.hgrc (or somewhere/Mercurial.ini), add [alias] log = log -f I’ve read the appearance of the log is for speed reason. Move isn’t truly a “first level” operation in Mercurial. It’s a copy + delete (this compared to Bazaar where the move/rename is a “first … Read more

What is the difference between configuration management and version control?

Version control is necessary but not sufficient for configuration management. Version control happens in some central or distributed repository, but says nothing about where any particular version is deployed or used. Configuration management worries about how to take what is in version control and deploy that consistently to the appropriate places, primarily QA and production, … Read more

hg local ignore

This is what I was looking for. Add the following to the repo’s .hg/hgrc: [ui] ignore = /path/to/repo/.hg/hgignore and create a new file .hg/hgignore beside it. This new file will be untracked, but work the same as the versioned .hgignore file for this specific working copy. (The /path/to/repo bit is unfortunate but necessary to make … Read more

Which files/directories to ignore in a Laravel 4 project when using version control?

For reference, that .gitignore file can be found here: /bootstrap/compiled.php /vendor composer.phar composer.lock # Remove this one after you create a project .env.*.php .env.php .DS_Store Thumbs.db As noted in the below comment, you probably want to commit composer.lock in your project. Laravel ignores it by default so the authors of the laravel/laravel package don’t accidently … Read more

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