Gentlemen,
I was thinking about the problem of incoming "just empty" directory, resp.
its cause (i.e. no kind information (file/dir) on added resources in "svn
status -u").
I've implemented some workaround, but would like to ask you your opinion.
We can reduce the number of "unknown" resources by properly sorting them and
deriving nodeKind information one some,
but for the "leaves" of the repository tree, the information is just not
available from svn update.
However, if we sacrifice one or more server request round trips, we can get
the nodeKind information by subsequent calls to "svn list -r HEAD
unkownResource(s)ParentDir".
(Of course we can minimalize the number of the list request by propper
grupping the unkown resources).
It seems to work, but I'm not that expert on svn, so I'd like to ask you
wheter you do not see some flaw there ...
I believe we can trade off some speed for correctness in "synchronize with
repository" ...
Regards,
Martin
--
Martin Letenay | mle@whitestein.com
Whitestein Technologies | www.whitestein.com <http://www.whitestein.com/>
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5443-5502 | Fax +421(2)5443-5512 | Mobile +421(905)646-813
Received on Wed Jun 15 19:18:06 2005