[GRASS-dev] SVN Commit Help

Hi all,

Yesterday I changed the name of the ./Extras folder in svn grass/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?

Thanks,

Marco

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@gclements.plus.com>

Many thanks Glynn,

it worked perfectly :slight_smile:

Marco

----- Original Message ----- From: "Glynn Clements" <glynn@gclements.plus.com>
To: "Marco Pasetti" <marco.pasetti@alice.it>
Cc: "GRASS Developer Mailing List" <grass-dev@lists.osgeo.org>
Sent: Monday, June 30, 2008 11:21 PM
Subject: Re: [GRASS-dev] SVN Commit Help

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@gclements.plus.com>