[GRASS-dev] SVN Commit Help

Glynn Clements glynn at gclements.plus.com
Mon Jun 30 17:21:04 EDT 2008


Marco Pasetti wrote:

> Yesterday I changed the name of the ./Extras folder in
> svngrass/branches/develbranch_6/mswindows
> 
> in my local svn working copy ./mswindows I did: svn rename ./Extras./Installer-Files
> 
> then: svn commit -m "Renamed Extras folder to Installer-Files" ./Installer-Files
> 
> the Installer-Files folder has been created, but it's empty; the
> Extras folder (along with all its files) is still there; how can I fix
> it without making "mess" with too much commits?

I think that you have to rename the files individually, i.e.:

	for file in Extras/* ; do
	    svn rename "$file" Installer-Files/"${file##Extras/}"
	done

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list