My rails project is at version 52. I want to revert the whole app to version 50, effectively ignoring v 51+52 I ran "svn update -r 50" in my working copy. Success. I have done some work on version 50, but when i try commiting it tells me that the file im commiting is out of date. DOes anyone know the solution? Thanks Chris -- Posted via http://www.ruby-forum.com/.
http://subversion.tigris.org/faq.html#wc-out-of-date svn up -r 50 svn commit -m "Reverting to r50" svn up On 20/07/06, Chris <cadams1342@hotmail.com> wrote:> My rails project is at version 52. I want to revert the whole app to > version 50, effectively ignoring v 51+52 > > I ran > "svn update -r 50" in my working copy. Success. > I have done some work on version 50, but when i try commiting it tells > me that the file im commiting is out of date. > > DOes anyone know the solution? > > Thanks > Chris > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- http://www.snowblink.co.uk/
Thanks Lim, bu I have just done what you said exactly, but on the last "svn up" it just updates to r 52 again!! Here is the command text,it starts at version 52: 1061:s213:~/code/MachineLogger> svn up -r 50 U app/models/daily_log.rb U app/controllers/log_machines_controller.rb U app/views/log_machines/view_summary.rhtml U public/stylesheets/scaffold.css Updated to revision 50. 1062:s213:~/code/MachineLogger> svn commit -m "Reverting to 50" 1063:s213:~/code/MachineLogger> svn up U app/models/daily_log.rb U app/controllers/log_machines_controller.rb U app/views/log_machines/view_summary.rhtml U public/stylesheets/scaffold.css Updated to revision 52. ...it goes back up to 52!! Any idea what is wrong? Thanks Chris -- Posted via http://www.ruby-forum.com/.
On 7/20/06, Chris <cadams1342@hotmail.com> wrote:> My rails project is at version 52. I want to revert the whole app to > version 50, effectively ignoring v 51+52 > > I ran > "svn update -r 50" in my working copy. Success. > I have done some work on version 50, but when i try commiting it tells > me that the file im commiting is out of date. > > DOes anyone know the solution?http://svnbook.red-bean.com/en/1.2/svn.branchmerge.commonuses.html#svn.branchmerge.commonuses.undo Isak