|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
own propertiesDear SVNKit team,
I want to set SVN properties not in the 'svn:' namespace, but in a different one, like 'nrm:'. Everything looks fine, but if I delete the respective file from my disc and perform an update afterwards, the property is corrupted in sense of, that only the property name is sent back from the server but not the namespace. For example, I want to set the property 'nrm:info' on 'myfile.txt'. Everything looks fine wrt. to '.svn/props/myfile.txt.svn-work', but after I deleted 'myfile.txt' and perform an update afterwards, the property in '.svn/prop-base' is just calles 'info' rather than 'nrm:info'. What am I doing wrong? Cheers, /nm --------------------------------------------------------------------- To unsubscribe, e-mail: svnkit-users-unsubscribe@... For additional commands, e-mail: svnkit-users-help@... |
|
|
Re: own propertiesNormen Mueller wrote:
> Dear SVNKit team, > > I want to set SVN properties not in the 'svn:' namespace, but in a > different one, like 'nrm:'. Everything looks fine, but if I delete the > respective file from my disc and perform an update afterwards, the > property is corrupted in sense of, that only the property name is sent > back from the server but not the namespace. For example, I want to set > the property 'nrm:info' on 'myfile.txt'. Everything looks fine wrt. to > '.svn/props/myfile.txt.svn-work', but after I deleted 'myfile.txt' and > perform an update afterwards, the property in '.svn/prop-base' is just > calles 'info' rather than 'nrm:info'. > > What am I doing wrong? > > Cheers, > /nm I am not sure yet, but I have the feeling that 'org.tmatesoft.svn.core.internal.io.dav.handlers.DAVProppatchHandler#appendProperty' has an error in the very first line: String prefix = SVNProperty.isSVNProperty(name) ? SVNXMLUtil.SVN_SVN_PROPERTY_PREFIX : SVNXMLUtil.SVN_CUSTOM_PROPERTY_PREFIX; Or is that new in SVN1.5, that there will be no own namespaces any more, i.e. 'nrm:info' will always be 'sc:info'? Cheers, /nm --------------------------------------------------------------------- To unsubscribe, e-mail: svnkit-users-unsubscribe@... For additional commands, e-mail: svnkit-users-help@... |
|
|
Re: own propertiesHello Normen.
I did not succeed in testing this example. I set "nrm:info" property on a file, committed it. Then deleted the file itself and ran update. The property in base-file did not lose nrm: namespace. If you just set nrm:info property but did not commit it, then it could not get to your base prop file since it was not in a repository yet. So, your description is not clear enough, I can not reproduce this bug. Can you send us a script or line-by-line instructions how to reproduce the bug (?) making it concrete how you delete your file (just in fs or using jsvn delete), what file and in what order you do what.. Thank you :) ---- Alexander Sinyushkin, TMate Software, http://svnkit.com/ - Java [Sub]Versioning Library! Normen Mueller wrote: > Normen Mueller wrote: >> Dear SVNKit team, >> >> I want to set SVN properties not in the 'svn:' namespace, but in a >> different one, like 'nrm:'. Everything looks fine, but if I delete >> the respective file from my disc and perform an update afterwards, the >> property is corrupted in sense of, that only the property name is sent >> back from the server but not the namespace. For example, I want to >> set the property 'nrm:info' on 'myfile.txt'. Everything looks fine >> wrt. to '.svn/props/myfile.txt.svn-work', but after I deleted >> 'myfile.txt' and perform an update afterwards, the property in >> '.svn/prop-base' is just calles 'info' rather than 'nrm:info'. >> >> What am I doing wrong? >> >> Cheers, >> /nm > > I am not sure yet, but I have the feeling that > 'org.tmatesoft.svn.core.internal.io.dav.handlers.DAVProppatchHandler#appendProperty' > has an error in the very first line: > > String prefix = SVNProperty.isSVNProperty(name) ? > SVNXMLUtil.SVN_SVN_PROPERTY_PREFIX : SVNXMLUtil.SVN_CUSTOM_PROPERTY_PREFIX; > > Or is that new in SVN1.5, that there will be no own namespaces any more, > i.e. 'nrm:info' will always be 'sc:info'? > > Cheers, > /nm > > --------------------------------------------------------------------- > To unsubscribe, e-mail: svnkit-users-unsubscribe@... > For additional commands, e-mail: svnkit-users-help@... > > > --------------------------------------------------------------------- To unsubscribe, e-mail: svnkit-users-unsubscribe@... For additional commands, e-mail: svnkit-users-help@... |
|
|
Re: own propertiesHe Alexander,
sorry for the delay, but I was on traveling. I will re-run my test asap and send you an detailed report. Thanks in advance for your help ... Cheers, /nm Alexander Sinyushkin wrote: > Hello Normen. > > I did not succeed in testing this example. I set "nrm:info" property on > a file, committed it. Then deleted the file itself and ran update. The > property in base-file did not lose nrm: namespace. If you just set > nrm:info property but did not commit it, then it could not get to your > base prop file since it was not in a repository yet. So, your > description is not clear enough, I can not reproduce this bug. Can you > send us a script or line-by-line instructions how to reproduce the bug > (?) making it concrete how you delete your file (just in fs or using > jsvn delete), what file and in what order you do what.. > > Thank you :) > > ---- > Alexander Sinyushkin, > TMate Software, > http://svnkit.com/ - Java [Sub]Versioning Library! > > Normen Mueller wrote: >> Normen Mueller wrote: >>> Dear SVNKit team, >>> >>> I want to set SVN properties not in the 'svn:' namespace, but in a >>> different one, like 'nrm:'. Everything looks fine, but if I delete >>> the respective file from my disc and perform an update afterwards, >>> the property is corrupted in sense of, that only the property name is >>> sent back from the server but not the namespace. For example, I want >>> to set the property 'nrm:info' on 'myfile.txt'. Everything looks >>> fine wrt. to '.svn/props/myfile.txt.svn-work', but after I deleted >>> 'myfile.txt' and perform an update afterwards, the property in >>> '.svn/prop-base' is just calles 'info' rather than 'nrm:info'. >>> >>> What am I doing wrong? >>> >>> Cheers, >>> /nm >> >> I am not sure yet, but I have the feeling that >> 'org.tmatesoft.svn.core.internal.io.dav.handlers.DAVProppatchHandler#appendProperty' >> has an error in the very first line: >> >> String prefix = SVNProperty.isSVNProperty(name) ? >> SVNXMLUtil.SVN_SVN_PROPERTY_PREFIX : >> SVNXMLUtil.SVN_CUSTOM_PROPERTY_PREFIX; >> >> Or is that new in SVN1.5, that there will be no own namespaces any >> more, i.e. 'nrm:info' will always be 'sc:info'? >> >> Cheers, >> /nm >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: svnkit-users-unsubscribe@... >> For additional commands, e-mail: svnkit-users-help@... >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: svnkit-users-unsubscribe@... > For additional commands, e-mail: svnkit-users-help@... > --------------------------------------------------------------------- To unsubscribe, e-mail: svnkit-users-unsubscribe@... For additional commands, e-mail: svnkit-users-help@... |
|
|
Re: own propertiesAlexander Sinyushkin wrote:
> Hello Normen. > > I did not succeed in testing this example. I set "nrm:info" property on > a file, committed it. Then deleted the file itself and ran update. The > property in base-file did not lose nrm: namespace. If you just set > nrm:info property but did not commit it, then it could not get to your > base prop file since it was not in a repository yet. So, your > description is not clear enough, I can not reproduce this bug. Can you > send us a script or line-by-line instructions how to reproduce the bug > (?) making it concrete how you delete your file (just in fs or using > jsvn delete), what file and in what order you do what.. > > Thank you :) > > ---- > Alexander Sinyushkin, > TMate Software, > http://svnkit.com/ - Java [Sub]Versioning Library! > > Normen Mueller wrote: >> Normen Mueller wrote: >>> Dear SVNKit team, >>> >>> I want to set SVN properties not in the 'svn:' namespace, but in a >>> different one, like 'nrm:'. Everything looks fine, but if I delete >>> the respective file from my disc and perform an update afterwards, >>> the property is corrupted in sense of, that only the property name is >>> sent back from the server but not the namespace. For example, I want >>> to set the property 'nrm:info' on 'myfile.txt'. Everything looks >>> fine wrt. to '.svn/props/myfile.txt.svn-work', but after I deleted >>> 'myfile.txt' and perform an update afterwards, the property in >>> '.svn/prop-base' is just calles 'info' rather than 'nrm:info'. >>> >>> What am I doing wrong? >>> >>> Cheers, >>> /nm >> >> I am not sure yet, but I have the feeling that >> 'org.tmatesoft.svn.core.internal.io.dav.handlers.DAVProppatchHandler#appendProperty' >> has an error in the very first line: >> >> String prefix = SVNProperty.isSVNProperty(name) ? >> SVNXMLUtil.SVN_SVN_PROPERTY_PREFIX : >> SVNXMLUtil.SVN_CUSTOM_PROPERTY_PREFIX; >> >> Or is that new in SVN1.5, that there will be no own namespaces any >> more, i.e. 'nrm:info' will always be 'sc:info'? >> >> Cheers, >> /nm >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: svnkit-users-unsubscribe@... >> For additional commands, e-mail: svnkit-users-help@... >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: svnkit-users-unsubscribe@... > For additional commands, e-mail: svnkit-users-help@... > Cheers, /nm --------------------------------------------------------------------- To unsubscribe, e-mail: svnkit-users-unsubscribe@... For additional commands, e-mail: svnkit-users-help@... |
|
|
Re: own propertiesAlexander Sinyushkin wrote:
> Hello Normen. > > I did not succeed in testing this example. I set "nrm:info" property on > a file, committed it. Then deleted the file itself and ran update. The > property in base-file did not lose nrm: namespace. If you just set > nrm:info property but did not commit it, then it could not get to your > base prop file since it was not in a repository yet. So, your > description is not clear enough, I can not reproduce this bug. Can you > send us a script or line-by-line instructions how to reproduce the bug > (?) making it concrete how you delete your file (just in fs or using > jsvn delete), what file and in what order you do what.. > > Thank you :) > > ---- > Alexander Sinyushkin, > TMate Software, > http://svnkit.com/ - Java [Sub]Versioning Library! > > Normen Mueller wrote: >> Normen Mueller wrote: >>> Dear SVNKit team, >>> >>> I want to set SVN properties not in the 'svn:' namespace, but in a >>> different one, like 'nrm:'. Everything looks fine, but if I delete >>> the respective file from my disc and perform an update afterwards, >>> the property is corrupted in sense of, that only the property name is >>> sent back from the server but not the namespace. For example, I want >>> to set the property 'nrm:info' on 'myfile.txt'. Everything looks >>> fine wrt. to '.svn/props/myfile.txt.svn-work', but after I deleted >>> 'myfile.txt' and perform an update afterwards, the property in >>> '.svn/prop-base' is just calles 'info' rather than 'nrm:info'. >>> >>> What am I doing wrong? >>> >>> Cheers, >>> /nm >> >> I am not sure yet, but I have the feeling that >> 'org.tmatesoft.svn.core.internal.io.dav.handlers.DAVProppatchHandler#appendProperty' >> has an error in the very first line: >> >> String prefix = SVNProperty.isSVNProperty(name) ? >> SVNXMLUtil.SVN_SVN_PROPERTY_PREFIX : >> SVNXMLUtil.SVN_CUSTOM_PROPERTY_PREFIX; >> >> Or is that new in SVN1.5, that there will be no own namespaces any >> more, i.e. 'nrm:info' will always be 'sc:info'? >> >> Cheers, >> /nm >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: svnkit-users-unsubscribe@... >> For additional commands, e-mail: svnkit-users-help@... >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: svnkit-users-unsubscribe@... > For additional commands, e-mail: svnkit-users-help@... > Cheers, /nm --------------------------------------------------------------------- To unsubscribe, e-mail: svnkit-users-unsubscribe@... For additional commands, e-mail: svnkit-users-help@... |
| Free Forum Powered by Nabble | Forum Help |