https://bugzilla.wikimedia.org/show_bug.cgi?id=21927

Reedy <s...@reedyboy.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|LATER                       |

--- Comment #4 from Reedy <s...@reedyboy.net> 2010-11-30 20:21:32 UTC ---
Reopening, WONTFIX'd at viewvc

"I don't see any benefit to making this not error when you've explicitly asked
the tool for something that makes no sense.  Rather, the CodeReview module in
the original referenced report should be more intelligent about the URLs it
generates.  (It's not as if Subversion doesn't provide ample ways for scripts
and such to tell whether a given path changed in a commit is a file or a
directory.)"

Anyone any suggestions? The tests above don't give any useful information..

A google suggests svnlook
http://stackoverflow.com/questions/1840805/how-to-check-if-path-is-a-folder-or-a-file-with-svnlook

But that needs to be against the phyiscal repo directory....

svn info can tell us a bit more...


re...@ubuntu64-esxi:~/test/trunk$ svn info lol
Path: lol
URL: https://192.168.0.202/svn/test/trunk/lol
Repository Root: https://192.168.0.202/svn/test
Repository UUID: 09e567e2-95c0-854f-9fda-fa730f2ac68d
Revision: 4
Node Kind: directory
Schedule: normal
Last Changed Author: reedy
Last Changed Rev: 2
Last Changed Date: 2010-11-21 22:43:49 +0000 (Sun, 21 Nov 2010)

re...@ubuntu64-esxi:~/test/trunk$ svn info test
Path: test
Name: test
URL: https://192.168.0.202/svn/test/trunk/test
Repository Root: https://192.168.0.202/svn/test
Repository UUID: 09e567e2-95c0-854f-9fda-fa730f2ac68d
Revision: 4
Node Kind: file
Schedule: normal
Last Changed Author: reedy
Last Changed Rev: 3
Last Changed Date: 2010-11-21 22:44:59 +0000 (Sun, 21 Nov 2010)
Text Last Updated: 2010-11-21 22:45:07 +0000 (Sun, 21 Nov 2010)
Checksum: 9cdfb439c7876e703e307864c9167a15

re...@ubuntu64-esxi:~/test/trunk$ svn info test.txt
Path: test.txt
Name: test.txt
URL: https://192.168.0.202/svn/test/trunk/test.txt
Repository Root: https://192.168.0.202/svn/test
Repository UUID: 09e567e2-95c0-854f-9fda-fa730f2ac68d
Revision: 4
Node Kind: file
Schedule: normal
Last Changed Author: reedy
Last Changed Rev: 4
Last Changed Date: 2010-11-21 22:45:30 +0000 (Sun, 21 Nov 2010)
Text Last Updated: 2010-11-21 22:45:37 +0000 (Sun, 21 Nov 2010)
Checksum: 9cdfb439c7876e703e307864c9167a15

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to