#3015 closed enhancement (fixed)
Please display properties in the browser view with the newlines still intact
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | normal | Milestone: | 0.10 |
Component: | version control/browser | Version: | 0.9.4 |
Severity: | minor | Keywords: | svn properties |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
svn properties (certainly for svn:ignore and svn:externals) are newline separated list of items, but in the browser view, the new lines are stripped out which makes it harder to read the actual items. Please could the new lines be left in?
For example, svn:externals contain a folder name, then possibly some options, then the url. But when you have multples, the folder name and URL are appearing on the previous line to the corresponding URL because the web browser is just randomly splitting the line at spaces.
Attachments (0)
Change History (7)
comment:1 by , 19 years ago
Keywords: | svn properties added |
---|---|
Milestone: | → 0.10 |
Owner: | changed from | to
Severity: | normal → minor |
Status: | new → assigned |
comment:2 by , 19 years ago
I've applied the patch to my version of trunk (updated now) but it doesn't seem to have had any effect. Could it be anything to do with windows \r\n stupidity? I'm running on WinXP Pro/svn1.3.1/apache-2.0.55/mod_python3.2.8/python-2.3.5
Cheers
Russell
comment:3 by , 19 years ago
In \r\n, you have the \n, so the above code should work too… It's most probably an install issue.
Try inserting some garbage (e.g. force 'value': to be 'Hello World') in order to check if the code change is taken into account.
If this is indeed the case, then post the binary content of the property, e.g.
svn pget svn:externals <the_path> | od -c
comment:4 by , 19 years ago
Yep, my fault. I'd cleared firfox's disk cache (which I needed to do when you change a style sheet) but hadn't restarted apache. After the restart it works.
If there is more than one line for the property, could all the items be put on new lines? Currently the first item for a property is put after the property name e.g.
- Property svn:ignore set to debug
release
obj
I think it would be more readable if debug were on a new line too.
I would try this myself, but currently have a real lack of understanding of python code! I learning little bits as am having to convert some python code to C++ in our applications, but don't get on well with their array notation and the lack of a for loops explicitly stated!
Cheers
Russell
comment:5 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Thanks for the feedback. Check r3135.
comment:7 by , 14 years ago
Cc: | removed |
---|
Sure.