External Files Appear as Folders

21 views
Skip to first unread message

robdahlgren0506

unread,
Aug 12, 2021, 11:07:35 AM8/12/21
to TortoiseSVN
Hey everybody,
I ran into a bug in tortoise today that I have not seen before. I think this must have been introduced within the last year or less, because I did this same operation without difficulty not long ago. 

When I edit the folder properties to add a new external file, the file appears as a folder in repo-browser and updates then fail. This also happens if you click right click the file in the svn:externals dialog and select "FETCH Head Revision and adjust to it" (if the file has changed).

Using TSVN 1.14.1 Build 29085 in Windows 10

The steps I took to reproduce this problem were:
  1. Open Repo-Browser and find the folder containing my externals.
  2. Right click the folder and select "Show properties"
  3. Double Click svn:externals
  4. Click "New" and add a file from the local repository, and set the peg revision to the latest.
  5. Accept everything, when repo-browser refreshes the file will appear as a folder
The only work-around I found is to use windows file explorer, right-mouse drag and drop from one working copy to the other, and select "Add as external here".

Thanks in advance for any help you can provide!

robdahlgren0506

unread,
Aug 12, 2021, 11:15:28 AM8/12/21
to TortoiseSVN
I'm sorry, I was mistaken when I said  "FETCH Head Revision and adjust to it" would do the same thing. That function works fine on existing external files. It only seems to be an issue with adding new externals.

Stefan

unread,
Aug 12, 2021, 2:14:30 PM8/12/21
to TortoiseSVN
please compare the svn:externals properties for when you created them in the repo browser and when done locally. I'm sure you'll find that they're not the same.
I tried this with the repo browser, and when done 'right' the file appears as a file, not a directory.
The repo browser shows externals as dirs if the url is not correct, i.e. the url points to something that does not exist.
Reply all
Reply to author
Forward
0 new messages