SVN blues – committing a file that doesn’t appear to have changed

So recently I had an issue where I needed to commit a Truecrypt file in SVN, but as you probably already know, when you save content in Truecrypt, the file appears to be untouched to SVN. The modified date doesn’t change, nor does the size of the file. So, how to we check-in our changes?

A co-worker generously gave me this tip, so I’m passing it on to you:

from the CLI

#svn propset dummyproperty 1
#svn commit

By changing the properties of the file with useless info we can fool SVN into letting us check-in our file!

Hooray!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s