简体   繁体   中英

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 from modules/ . newFolder

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

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.

可能需要一些时间才能反映您在服务器上的提交更改。

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...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM