List Info

Thread: Possible depth bug with status?




Possible depth bug with status?
user name
2007-10-17 14:06:43
I am testing via file://

I do a checkout --depth=immediates.

This command returns everything:

svn st -u

So I see all repository stuff that I do not have as incoming
changes.
This is also true when using the API (via JavaHL) and
passing
svn_depth_unknown to the API.

I assume it should just show info about stuff I have unless
I say
depth=infininity.

-- 
Thanks

Mark Phippard
http://markphip.blogspo
t.com/

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribesubversion.tigris.org
For additional commands, e-mail: dev-helpsubversion.tigris.org


Re: Possible depth bug with status?
user name
2007-10-17 14:44:40
On 10/17/07, Mark Phippard <markphipgmail.com> wrote:
> I am testing via file://
>
> I do a checkout --depth=immediates.
>
> This command returns everything:
>
> svn st -u
>
> So I see all repository stuff that I do not have as
incoming changes.
> This is also true when using the API (via JavaHL) and
passing
> svn_depth_unknown to the API.
>
> I assume it should just show info about stuff I have
unless I say
> depth=infininity.

The status and diff editors don't do ambient depth yet.  I
hope to
extract that bit from the update editor this week.

Want to make a test for this?

--dave

-- 
David Glasser | glasserdavidglasser.net | http://www.davidglasser.
net/

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribesubversion.tigris.org
For additional commands, e-mail: dev-helpsubversion.tigris.org


Re: Possible depth bug with status?
user name
2007-10-17 15:08:15
On 10/17/07, David Glasser <glasserdavidglasser.net>
wrote:
> On 10/17/07, Mark Phippard <markphipgmail.com> wrote:
> > I am testing via file://
> >
> > I do a checkout --depth=immediates.
> >
> > This command returns everything:
> >
> > svn st -u
> >
> > So I see all repository stuff that I do not have
as incoming changes.
> > This is also true when using the API (via JavaHL)
and passing
> > svn_depth_unknown to the API.
> >
> > I assume it should just show info about stuff I
have unless I say
> > depth=infininity.
>
> The status and diff editors don't do ambient depth yet.
 I hope to
> extract that bit from the update editor this week.

OK, I thought they just needed work against older servers. 
I did not
realize they just do not have the feature.

> Want to make a test for this?

I took a look at writing tests once.  I don't really grok
them well
enough yet to sign up for that.  Sorry.

-- 
Thanks

Mark Phippard
http://markphip.blogspo
t.com/

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribesubversion.tigris.org
For additional commands, e-mail: dev-helpsubversion.tigris.org


Re: Possible depth bug with status?
user name
2007-10-17 15:12:43
Mark Phippard wrote:
> I am testing via file://
> 
> I do a checkout --depth=immediates.
> 
> This command returns everything:
> 
> svn st -u
> 
> So I see all repository stuff that I do not have as
incoming changes.
> This is also true when using the API (via JavaHL) and
passing
> svn_depth_unknown to the API.
> 
> I assume it should just show info about stuff I have
unless I say
> depth=infininity.

Good catch.  svn_client_status3() was converting
svn_depth_unknown to
svn_depth_infinity.  I removed the conversion in r27258.

-- 
Vlad

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribesubversion.tigris.org
For additional commands, e-mail: dev-helpsubversion.tigris.org


Re: Possible depth bug with status?
user name
2007-10-17 15:23:45
On 10/17/07, Vlad Georgescu <vgeorgescugmail.com> wrote:
> Mark Phippard wrote:
> > I am testing via file://
> >
> > I do a checkout --depth=immediates.
> >
> > This command returns everything:
> >
> > svn st -u
> >
> > So I see all repository stuff that I do not have
as incoming changes.
> > This is also true when using the API (via JavaHL)
and passing
> > svn_depth_unknown to the API.
> >
> > I assume it should just show info about stuff I
have unless I say
> > depth=infininity.
>
> Good catch.  svn_client_status3() was converting
svn_depth_unknown to
> svn_depth_infinity.  I removed the conversion in
r27258.

Thanks. That fixes it in the Subclipse examples where I
found it.


-- 
Thanks

Mark Phippard
http://markphip.blogspo
t.com/

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribesubversion.tigris.org
For additional commands, e-mail: dev-helpsubversion.tigris.org


Re: Possible depth bug with status?
user name
2007-10-17 15:53:11
On 10/17/07, Mark Phippard <markphipgmail.com> wrote:
> On 10/17/07, David Glasser <glasserdavidglasser.net> wrote:
> > On 10/17/07, Mark Phippard <markphipgmail.com> wrote:
> > > I am testing via file://
> > >
> > > I do a checkout --depth=immediates.
> > >
> > > This command returns everything:
> > >
> > > svn st -u
> > >
> > > So I see all repository stuff that I do not
have as incoming changes.
> > > This is also true when using the API (via
JavaHL) and passing
> > > svn_depth_unknown to the API.
> > >
> > > I assume it should just show info about stuff
I have unless I say
> > > depth=infininity.
> >
> > The status and diff editors don't do ambient depth
yet.  I hope to
> > extract that bit from the update editor this
week.
>
> OK, I thought they just needed work against older
servers.  I did not
> realize they just do not have the feature.

... that might be right.  See if Vlad's r27258 fixes your
problem, though?

> > Want to make a test for this?
>
> I took a look at writing tests once.  I don't really
grok them well
> enough yet to sign up for that.  Sorry.

Hmm, how about just sending a shell script and letting
somebody else
try the Python?

--dave

-- 
David Glasser | glasserdavidglasser.net | http://www.davidglasser.
net/

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribesubversion.tigris.org
For additional commands, e-mail: dev-helpsubversion.tigris.org


[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )