This project is read-only.
1

Closed

Commit does not work

description

I've my project checket out using Tortoise the 'old way' (i.e. just using tortoise)
Commiting works fine.
 
I've downloaded and installed the plugin.
Opened VS2010
I can see the VSTortoise menu
changed some files
Choose menu commit, but apparently the path that is given from VsTortoise to Tortoise is wrong

file attachments

Closed Oct 28, 2013 at 8:44 PM by pschraut
Closed due to no feedback, seems to be fixed.

comments

pschraut wrote Oct 9, 2010 at 6:32 PM

Hi, please enable VsTortoise diagnostics (Visual Studio main menu -> Tools -> Options -> VsTortoise -> General, check "Enable diagnostics"). This will print everything which is passed to TortoiseSVN to the output pane. Then change some files, choose commit again and copy&paste the ouput here. I also need to know your project/folder structure that causes problems, to replicate your setup here.
  • Do you get any error message or shows the Commit dialog only disabled files?
  • Could you post a screenshot of the error or dialog?
  • Does any other command works, eg Update or any of the Active Document commands?

wrote Oct 9, 2010 at 9:35 PM

j3d72 wrote Oct 9, 2010 at 9:35 PM

My solutions is called partypictures and is checked-out to
d:\workingwersions\zatara\partypictures
In that solution one of the projects is calle partypictures
I've changed one of the files in that project, saved it and choose 'vsTortoise | Commit' from the menu
Tortoise give a popup with the files to commit
choose ok and error 'd:\workingversions\zatara' is not a working copy

Output generate by diagnostics

Hello, I'm the VsTortoise diagnostics output pane.
You can deactivate me in Mainmenu -> Tools -> Options -> VsTortoise.
Creating directory 'C:\Users\Johnny\AppData\Local\VsTortoise\settings.xml'
C:\Users\Johnny\AppData\Local\Temp\tmpAA15.tmp
D:\WorkingVersions\Zatara\PartyPictures
D:\WorkingVersions\Zatara\ZMTF\TouchControls
D:\WorkingVersions\Zatara\ZMTF\TouchFramework
D:\WorkingVersions\Zatara\ZMTF\TouchFrameworkTracking
D:\WorkingVersions\Zatara\ZMTF\TouchHelpers
TortoiseProc.exe /command:commit /pathfile:"C:\Users\Johnny\AppData\Local\Temp\tmpAA15.tmp" /deletepathfile

pschraut wrote Oct 9, 2010 at 9:46 PM

Thanks for the details, this will help me definitely further! I think I already know what is causing the problem. I'll let you know when I've fixed it.

wrote Oct 16, 2010 at 10:59 AM

pschraut wrote Oct 16, 2010 at 11:05 AM

Apparently, I don't seem to be able to reproduce the problem. I thought it's a feature I added in Build 28, but it seems not to be the case. That's pretty crazy, it looks like everything is ok. Not even the TSVN Commit dialog complains about any error or warning, everything looks fine there. None of the paths point to "D:\WorkingVersions\Zatara" at all, I'm kinda lost.

I've created a pathfile that contains each path you posted above. The file is a 16bit unicode text file without byte order mark. So you better don't change it, otherwise it's very likely TortoiseSVN is unable to read it anymore. Could you please try if the same error occurs, if you perform the commit from the command-line?
  • Download pathfile.txt to "C:\pathfile.txt" for example
  • Open a command-prompt
  • Enter: TortoiseProc.exe /command:commit /pathfile:"C:\pathfile.txt"
If the same error occurs, I think it's a good idea to ask in the TSVN mailinglist.

j3d72 wrote Oct 16, 2010 at 5:35 PM

Hi,

If tried your suggestion. And It did not work out. I've been browsing to find a Tortoise solution and found :

.. all directories specified in the "/ path:" parameter must be subdirectories of a common working copy
directory...

That is the origin of the problem, but not the solution :-)
My solution concists of several projects. The prior : the application, the rest is the framework that is used by the application. The framework is used by many other applications, hence has a seperate working folder.

A nice workaround would be OR
  1. check if all folders added to the path-file are part of the same workingdirecotory. If not launch Tortoise for each project seperatedly.
  2. launch Tortoise seperatadly for each project (could be an option for the developper to choose)
More info on the case were I found the info :

http://groups.google.com/group/tortoisesvn/browse_thread/thread/c4875c6172b3c829?pli=1

pschraut wrote Oct 16, 2010 at 7:20 PM

Glad you found the problem! I know that commiting to different repositories through one commit dialog does not work, but I wonder why TSVN does not warn about this on your computer. When I try to commit to different repos at once, the TSVN commit dialog displays a warning icon in the lower right corner.

However, I think your 1. point could solve the problem. I'll give that a try and let you know when I have a new version to test for you.

pschraut wrote Oct 16, 2010 at 7:55 PM

I just sent you a download link via private message to a new version. I implemented your suggestion to start a Commit dialog for each working copy. If this solves the problem for you, I'm also going to add an option to enable/disable this behaviour.

Please let me know if it works for you.

wrote Feb 14, 2013 at 9:40 PM

wrote Oct 28, 2013 at 8:44 PM