Enable Theme, Retain Layouts

I asked this over in issues and troubleshooting but I thought I'd try the same question over here with a little more detail:

Essentially the problem is how to rename a folder that a theme is in.

The problem is that your site's overall structure is defined in the site's layouts. Export / import of a layout isn't consistent, so that doesn't work.

Our specific scenario is that the folder is named one thing in our git repository and something different on the live site, ideally we want to have the folders be the same as they are named in git

Try to do the following

- copy your theme from design/themes directory to the var/themes_repository one

- rename it there

- go to Design -> Themes -> Browse all available themes page

- install new theme there

It looks to me like "clone theme" is actually what I was looking for?

My other approach had been to copy the entire folder, then change the theme_name column in bm_layouts to be the "new" theme.

Can you think of anything that might go awry with a cloned theme? It "looks good" to me.

It looks to me like "clone theme" is actually what I was looking for?

My other approach had been to copy the entire folder, then change the theme_name column in bm_layouts to be the "new" theme.

Can you think of anything that might go awry with a cloned theme? It "looks good" to me.

I am not sure, if the theme name is used in one table only (bm_layouts). But if you say that the theme is displayed correctly, you are on the right way

Right exactly, that's why I didn't like my method. I'll go with cloning the theme, thanks for your insights.