Add already added file to the svn:ignore list

  • cp addedfile addedfile_bkp
  • svn del addedfile
  • svn commit -m „delete because we will add it to the ignore list“
  • svn mv addedfile_bkp addedfile
  • svn propset svn:ignore „addedfile“ .
  • svn update
  • svn commit -m „add file to the ignore list“
Advertisements

Ruby problems with Date.parse.. (3 elements of civil date are necessary)

On older machines you get problems using Date.parse. The problem occured on a debian 4.0 machine with Ruby 1.8.5 installed.

Instead of using:

Date.parse("2008/03/07")

Use:

Date.strptime("2008/03/07", '%Y/%m/%d')