söndag 26 februari 2023 kl. 22:20:36 UTC+1 skrev Daniel Sahlberg: fredag 24 februari 2023 kl. 16:54:58 UTC+1 skrev Rudong Liang:
The command in cmd is as follows: TortoiseProc.exe /command:commit /path:"..\..\editor*..\..\server" In the commit window, only the files of “..\..\server” will be displayed, and there are also changed files in “..\..\..editor”, but they are not displayed, and they cannot be committed Excuse me, what is this question? I tried the same and I see the same behaviour when having "..\..\" in the path. If I change the working directory so I only have "..\" in the path, it seems to work as expected. I belive the root cause is the call to CPathUtils::GetLongPathname (TortoiseProc.cpp, line 356) which in turn calls GetFullPathName (a win32 api function). The last function returns both paths when called with "..\editor*..\server" but only the second when called with "..\..\editor*..\..\server". I don't think it is reasonable to call GetLongPathname (and GetFullPathName) with the *-ed path, I think the could should be reorganized to separate the paths before calling GetLongPathname, however that requires some refactoring and I'm running out of time now. I will hopefully have some time tomorrow evening. I have committed a fix as r29530, it seems to solve the problem for me. It will be available as a nightly build (https://nightlybuilds.tortoisesvn.net/latest/) if you would like to test it. Kind regards, Daniel -- You received this message because you are subscribed to the Google Groups "TortoiseSVN" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn/2c2dcab0-b1cd-486f-a099-d56ffa58ee96n%40googlegroups.com.
