Changes

212 bytes added ,  09:28, 16 November 2010
Line 79: Line 79:  
  cs.save!
 
  cs.save!
 
  repo.owner = new_owner
 
  repo.owner = new_owner
 +
repo.save!
 +
 +
# move repository to another project
 +
new_project = Project.find_by_title('sl-tweaks')
 +
repo = Repository::find_by_path("sat-solver/mainline")
 +
repo.project = new_project
 +
repo.name = "sat-solver"
 
  repo.save!
 
  repo.save!