You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Philipp Marek <ph...@marek.priv.at> on 2008/05/01 07:10:49 UTC

Not getting property-deletion notification on

Hello everybody,

in FSVS I'm currently looking for a problem that I cannot diagnose.

When FSVS tries to get a list of changes from revision X to Y, where a 
property was deleted, it doesn't get the notification with change_file_prop() 
(with value==NULL or at least value->data==NULL); new or changed properties 
seem to be sent just fine.

That's been tested with file:// on subversion=1.4.6dfsg1-3, if that matters.


"svn st -u" doesn't show what changes would happen, only that the file gets 
changed - so that doesn't help diagnosing.


Any help, please?
Thank you very much.


Regards,

Phil

--
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Not getting property-deletion notification on

Posted by Philipp Marek <ph...@marek.priv.at>.
Hello David,

On Thursday 01 May 2008 David Glasser wrote:
> Can you provide a a complete test case?  Maybe a short program that
> demonstrates this?
I had hoped that someone knows how to trigger a verbose svn_ra_do_status() 
from the existing svn binary ...
I have a testcase for FSVS - but it's on the notebook, and not currently 
checked in.

I'll take a look and see what I can cook up ... but that'll take a while, 
maybe someone beats me to it - with a verbose "svn build" or something like 
that? I got as far as that:

	svnadmin create /tmp/werh
	svn co file:///tmp/werh/ xxx
	cd xxx
	touch file
	svn add file
	svn ci -m0
	svn ps a b file
	svn ci -m1

Now this shows changes to be done, but not which ...
	svn up -r1
	svn st -u

	svn pd a file
	svn ci -m2

	svn up -r1

And now we have the case that there's the state that the current wc has a 
property set, but an update would remove it.
Only "svn st -u -v" shows not enough - just that "file" would be changed.


Regards,

Phil


-- 
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Not getting property-deletion notification on

Posted by David Glasser <gl...@davidglasser.net>.
Can you provide a a complete test case?  Maybe a short program that
demonstrates this?

--dave

On Thu, May 1, 2008 at 12:10 AM, Philipp Marek <ph...@marek.priv.at> wrote:
> Hello everybody,
>
>  in FSVS I'm currently looking for a problem that I cannot diagnose.
>
>  When FSVS tries to get a list of changes from revision X to Y, where a
>  property was deleted, it doesn't get the notification with change_file_prop()
>  (with value==NULL or at least value->data==NULL); new or changed properties
>  seem to be sent just fine.
>
>  That's been tested with file:// on subversion=1.4.6dfsg1-3, if that matters.
>
>
>  "svn st -u" doesn't show what changes would happen, only that the file gets
>  changed - so that doesn't help diagnosing.
>
>
>  Any help, please?
>  Thank you very much.
>
>
>  Regards,
>
>  Phil
>
>  --
>  Versioning your /etc, /home or even your whole installation?
>              Try fsvs (fsvs.tigris.org)!
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
>  For additional commands, e-mail: dev-help@subversion.tigris.org
>
>



-- 
David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Not getting property-deletion notification on

Posted by Philipp Marek <ph...@marek.priv.at>.
        svnadmin create /tmp/werh
        svn co file:///tmp/werh/ xxx
        cd xxx
        touch file
        svn add file
        svn ci -m0
        svn ps a b file
        svn ci -m1
        svn pd a file
        svn ci -m2
        svn up -r1

Now an update would remove the property.

I try to reproduce that problem using the attached script, but don't get 
it ... That seems to work.

I'll reflect a bit about that ... any hints welcome.
But it seems to be a problem in FSVS only, at least currently.

Sorry for the noise.


Regards,

Phil

Re: Not getting property-deletion notification on

Posted by Karl Fogel <kf...@red-bean.com>.
Philipp Marek <ph...@marek.priv.at> writes:
> in FSVS I'm currently looking for a problem that I cannot diagnose.
>
> When FSVS tries to get a list of changes from revision X to Y, where a 
> property was deleted, it doesn't get the notification with change_file_prop() 
> (with value==NULL or at least value->data==NULL); new or changed properties 
> seem to be sent just fine.
>
> That's been tested with file:// on subversion=1.4.6dfsg1-3, if that matters.
>
> "svn st -u" doesn't show what changes would happen, only that the file gets 
> changed - so that doesn't help diagnosing.
>
> Any help, please?

Could you provide a scriptable reproduction recipe, by any chance?

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org