Login | Register
My pages Projects Community openCollabNet

Discussions > users [DISABLED] > RE: svn propedit svn:log

subversion
Discussion topic

Back to topic list

RE: svn propedit svn:log

Author "Srilakshmanan, Lakshman" <lakshman dot srilakshmanan at police dot vic dot gov dot au>
Full name "Srilakshmanan, Lakshman" <lakshman dot srilakshmanan at police dot vic dot gov dot au>
Date 2009-10-13 20:43:11 PDT
Message Hi David,
 
Thanks for your feedback.
 
>> I don't know what pre-revprop-change script you're using in order to
make a comment on that aspect of it.

All I have is "exit 0" in by pre-revprop-change script.
 
But I find that the pre-revprop-change script itself is not accessed. I
have tested it with debug message and no debug file is created.
When the "space" is removed from the repository name the debug file is
created with the debug message.
 
What puzzles me is that the pre-commit hook works as expected.
 
>> URLs officially should not have spaces in them
 
My understanding is that space is an "unsafe" character and that they
need to be quoted with % character.
There does not appear to be any official ruling on it.
 
Thanks
Lakshman

____________________​____________

From: David Weintraub [mailto:qazwart at gmail dot com]
Sent: Tuesday, 13 October 2009 3:10 AM
To: Srilakshmanan, Lakshman
Cc: users at subversion dot tigris dot org
Subject: Re: svn propedit svn:log


You actually have a space in the repository's base URL which is
something you need to avoid. You may have to change your Apache
configuration to use something like http://xxxx/Common-Test or
http://xxxx/CommonTest instead of http://xxxx/Common Test. Otherwise,
you'll need to put "%20" for spaces in your URL. URLs officially should
not have spaces in them, but have them quoted with the % character.

However, that might not necessarily be the culprit. You need to take a
look at your pre-revprop-change hook to see if it is quoting the URL or
simply assuming the URL has no spaces in it. I've seen a few Subversion
utility scripts that had this issue, and putting quotation marks in
solved the problem.

I don't know what pre-revprop-change script you're using in order to
make a comment on that aspect of it.


On Wed, Oct 7, 2009 at 9:21 PM, Srilakshmanan, Lakshman
<lakshman.srilaks​hmanan at police dot vic dot go​v.au> wrote:


    Hi All,

    I encountered an issue, not sure if this is a bug, known problem
or "feature" :)

    If the project url contains a "space" (http://xxxx/Common
<http://xxxx/Common> Test/Build/) then the pre-revprop-change script
fails to execute.

    If I use "svnadmin setlog" all is fine.


    The pre-commit script, on the other hand, executes as expected.

    Any thoughts ?

    Thanks
    Lakshman


    
====================​====================​====================​============
========================
    EMAIL DISCLAIMER
    
    This email and any attachments are confidential. They may also
be subject to copyright.
    
    If you are not an intended recipient of this email please
immediately contact us by replying
    to this email and then delete this email.
    
    You must not read, use, copy, retain, forward or disclose this
email or any attachment.
    
    We do not accept any liability arising from or in connection
with unauthorised use or disclosure
    of the information contained in this email or any attachment.
    
    We make reasonable efforts to protect against computer viruses
but we do not accept liability
    for any liability, loss or damage caused by any computer virus
contained in this email.
    
====================​====================​====================​============
========================




--
David Weintraub
qazwart at gmail dot com


====================​====================​====================​====================​================
EMAIL DISCLAIMER

This email and any attachments are confidential. They may also be subject to copyright.

If you are not an intended recipient of this email please immediately contact us by replying
to this email and then delete this email.

You must not read, use, copy, retain, forward or disclose this email or any attachment.

We do not accept any liability arising from or in connection with unauthorised use or disclosure
of the information contained in this email or any attachment.

We make reasonable efforts to protect against computer viruses but we do not accept liability
for any liability, loss or damage caused by any computer virus contained in this email.
====================​====================​====================​====================​================
Attachments

« Previous message in topic | 3 of 4 | Next message in topic »

Messages

Show all messages in topic

svn propedit svn:log "Srilakshmanan, Lakshman" <lakshman dot srilakshmanan at police dot vic dot gov dot au> "Srilakshmanan, Lakshman" <lakshman dot srilakshmanan at police dot vic dot gov dot au> 2009-10-07 18:21:57 PDT
     Re: svn propedit svn:log David Weintraub <qazwart at gmail dot com> David Weintraub <qazwart at gmail dot com> 2009-10-12 09:09:54 PDT
         RE: svn propedit svn:log "Srilakshmanan, Lakshman" <lakshman dot srilakshmanan at police dot vic dot gov dot au> "Srilakshmanan, Lakshman" <lakshman dot srilakshmanan at police dot vic dot gov dot au> 2009-10-13 20:43:11 PDT
             Re: svn propedit svn:log David Weintraub <qazwart at gmail dot com> David Weintraub <qazwart at gmail dot com> 2009-10-14 10:10:21 PDT
Messages per page: