SVN updates not showing

33 views
Skip to first unread message

robotics13

unread,
Mar 6, 2019, 4:28:27 PM3/6/19
to TortoiseSVN
So I have been using SVN for a while and haven't had this issue, but:

1) a coworker updated a file
2) I updated SVN and it says I am on the latest rev (both on the cmd line and in the GUI). 
3) I still saw the old file when I open it
4) Tried to use cleanup commands, revert to that new revision commands (both on the cmd line and in the GUI). 
5) I still saw the old file when I open it
6) Manually updated each folder that the file is in as well as that file.
7) I still saw the old file when I open it

Short of re-checking out the repo which will take hours since there are many files on there, do you know what this could be? Is there a setting that could prevent the files from actually updating??

I am on Window's 7 Professional. I just updated to the latest Tortoise SVN (1.11 I think?)

Thanks!

Stefan

unread,
Mar 6, 2019, 4:32:47 PM3/6/19
to TortoiseSVN
* make sure you're on the correct branch/trunk (should be obvious, but I often spend a lot of time figuring out similar issues until I realize I'm on my dev branch...)
* delete the file, then run update - that will get the file back as svn thinks it should be
* check the commit log: make sure the url of the committed file is the one your local file points to
* is the file included via svn:externals? If so, check the property and see if it's pinned to a specific revision

robotics13

unread,
Mar 6, 2019, 5:43:11 PM3/6/19
to TortoiseSVN
Thanks for the quick reply!
They are not externals and I am on the right branch (trunk).

I noticed another weird thing.The file system I have is like this:
Folder A
    |
    ---- Folder B
                |
                 ----- Folder C
                              |
                              ----------FileThatIsChanged.cpp

So the top level file - Folder A will show the revision under the "Revision" and "Last Changed Rev" (8031).
I go into Folder B and use "svn info" and it shows the "Last  Changed Rev" as 7663. 
I go into Folder C and use "svn info" and it shows the "Last Changed Rev" as 7996.
When I right click on the folders and look at SVN Log, in Folder B and C it doesn't show the update to FileThatIsChanged.cpp.
It shows rev 8031 on FolderA.

Luc Van der Veken

unread,
Mar 7, 2019, 2:05:34 AM3/7/19
to TortoiseSVN
You don't have to check out the whole repository just to have a look at one file.
  • Right-click Folder C in your working copy, properties, copy the URL from the Subversion tab.
  • Start / Run, paste the URL in.
  • If it is a http(s):// URL it should open in your web browser, if it is a svn:// URL it should open in the Tortoise repository browser.
If you still get the old version of the file, make sure your co-worker really committed it (and from that folder, not a new copy in another folder or so).

robotics13

unread,
Mar 8, 2019, 1:50:14 PM3/8/19
to torto...@googlegroups.com
So I have noticed that I get updates for some of the other folders in the SVN, just not this one folder. 
And I see the commit on other computers, just not this one. Folder permissions seem fine.


EDIT:

I found the issue. The trunk was pointing to a branch when updating - however when I tried to check out the trunk it checked out the branch. But it would say I was on the trunk...when I clearly wasn't. Called another coworker over to make sure I wasn't crazy and they also saw it. 
 
So I deleted the local repo and rechecked it out. Now it's linked properly and working. Not sure how the old one got corrupted.

Reply all
Reply to author
Forward
0 new messages