Re: Code Reverting Itself
From: Nico Kadel-Garcia <nkadel_at_gmail.com>
Date: Thu, 27 Sep 2012 08:43:58 -0400
[ sorry about bad post! ]
On Sep 26, 2012, at 5:59, Stefan Sperling <stsp_at_elego.de> wrote:
Oh, yes, that one is fun. It's also aggravated by deployment processes that edit files in place, rather than Subversion managing a template and deploying a source control excluded file, built at deployment time from local settings.
> - You run 'svn update' and the file receives changes from the repository.
There are good hooks in Emacs, for example, with psvn.el installed. But that now required Emacs-23 or later.
There is also a commonly used procedure of doing "svn checkout" on top of an existing working copy without clearing away old local changes with "svn revert". I ran into that one, with the "Tuttle" configuration management system. The results led to various merging adventures for people who didn't realize old test config settings were not cleared nightly, and wound up committing them back upstream.
> for changes that are unrelated to what was supposed to be committed.
This is an archived mail posted to the Subversion Users mailing list.