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.

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/64801a2a-191a-4927-b4c8-f9cae4815b73n%40googlegroups.com.

Reply via email to