albifant
albifant

Reputation: 237

svn list does not show new files after svn add and svn commit

I have a local svn repository running. Works fine.

Then I created a new folder inside my working copy ./modules/newFolder. The folder ./modules (and all it's old contents) where under revision already. newFolder obviously not.

I went ahead and ran svn add /modules/newFolder/ and svn ci. There was the output like

A    modules/newFolder/subFolder…
… and so forth

And I thought all is well. To be sure I checked with svn list modules/ and was surprised to find out newFolder missing from modules/.

Where is it? What did I do wrong? I'll update this post with all the information you need.

Upvotes: 1

Views: 2362

Answers (3)

Anders Abel
Anders Abel

Reputation: 69280

By default, svn unfortunately does not refresh the state from the server after a commit. Have you done an svn update recently?

When working with svn, it's a good idea to always make an svn up right after a commit.

Upvotes: 4

user212926
user212926

Reputation:

Try to delete the folder ./modules/newFolder. Then run svn update && svn ci. After that recreate the folder ./modules/newFolder. Finally, run svn update && svn ci. Folder should be added then...

Upvotes: 0

Cool
Cool

Reputation: 348

May be it will take some time to reflect your commit changes on server.

Upvotes: 0

Related Questions