You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Kevin Pilch-Bisson <ke...@pilch-bisson.net> on 2001/01/19 19:43:21 UTC

libsvn_fs/delta.c

Hi all,

I have been attempting to familiarize myself with the subversion code,
and style of doing things (which was fairly straightforward, since as
Garret recently said, you have all done a terrific job of keeping the
code clean, organized, and documented).

Anyway while doing so, I took a look at libsvn_fs/delta.c and found that
it didn't even come close to compiling, since it used an api that seems
to have either never been implemented, or has been removed.  I took the
liberty of patching up all the holes to the point where it at least
compiles, but I have no way or testing it.  If anyone wants it, a diff
is included.

One note that I should make is that in preparing it, I took the liberty
of making an assumption about svn_fs_get_node_proplist.  Since the
comment in include/svn_fs.h was unclear, and the function is not
implemented (in libsvn_fs/tree.c), I assumed that the apr_hash_t it
returned would be keyed by null terminated C-strings, and the values
would be pointers to svn_string_ts as stated in the header.

Is this useful, or what is the direction that libsvn_fs is moving?

-- 
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson
kevin@pilch-bisson.net
http://www.pilch-bisson.net

Re: libsvn_fs/delta.c

Posted by Karl Fogel <kf...@galois.collab.net>.
A plea to everyone:

Unless there's a reason to think your patch will be mangled by the
email transport layer, it's much more convenient to include it as
plain old text in the body of your message (as opposed to making it
some kind of encoded attachment).  This way recipients can just page
down and read it right away, without any conversion step.

Reduce The Barrier. :-)

-K

Kevin Pilch-Bisson <ke...@pilch-bisson.net> writes:
> --H1spWtNR+x+ondvy
> Content-Type: multipart/mixed; boundary="y0ulUmNC+osPPQO6"
> Content-Disposition: inline
> 
> 
> --y0ulUmNC+osPPQO6
> Content-Type: text/plain; charset=iso-8859-1
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> 
> On Fri, Jan 19, 2001 at 10:45:10PM +0100, Branko =C8ibej wrote:
> > Hi Kevin,
> >=20
> > I couldn't apply your patch. Could you please post another one, made=20
> > with "cvs diff -up"? I'll take some time to look at it.
> 
> 
> Here it is
> >=20
> > --=20
> > Brane =C8ibej
> >     home:   <br...@xbc.nu>             http://www.xbc.nu/brane/
> >     work:   <br...@hermes.si>   http://www.hermes-softlab.com/
> >      ACM:   <br...@acm.org>            http://www.acm.org/
> >=20
> >=20
> > ____________________________________________________________
> > Get your free domain name and domain-based e-mail from     =20
> > Namezero.com. New!  Namezero Plus domains now available.   =20
> > Find out more at: http://www.namezero.com                  =20
> >=20
> 
> --=20
> >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Kevin Pilch-Bisson
> kevin@pilch-bisson.net
> http://www.pilch-bisson.net
> 
> --y0ulUmNC+osPPQO6
> Content-Type: application/octet-stream
> Content-Disposition: attachment; filename="patch.gz"
> Content-Transfer-Encoding: base64
> 
> H4sICKTDaDoAA3BhdGNoAM08bXPjuM2f4+mPYPshsWM7sePESTbdu6Z76V363JPtZHN95ubm
> xpVteqOuI/kkOdl0m//+AOCLSImUZGc7U++LX0SCIAACIEDwOprzz2/YnC+z4GDWevv6V+v2
> 3Qe2CJf8DTucPaaH6Xr6yJM0jCPz4zKcpo/RZJEeyqF7j62EZ0nIH8PoI0vgDdux4cHRoDUP
> FwvWX7P+ivUT/EXj2+/31eedo8FgcDg8OjwasaOjN6OzN8fjHere7XbNRsND+Ds8x0bHp29O
> jlp/+hPrj056p6wL/48ZfE2zZD3L2CyOMv45Y19ajLFglUxWcbycZGwf3y9a7AX+tfotdrjP
> 7u45y55XnMULFrDFOppliH52H2QsmM34KkvZ7D6IPvKUZTELIhZP/8ln2V7KVkm84kn2jIOw
> ZZhmB4y9//Nfr97dsRAaA2DRlD3dxylXzUMAFCScTTnSS4CeHxCMm8v/vVJdo+CBcMLPaiBE
> QHSAkf5++eNPeWv+xB6D5ZoTTU4GveMB6x6f4xv8gPOb8wVDxvEkiRMiBQBFpCcC4mQRTYAo
> SJIPnBNQRQwa4iHly0dAfREnwJN0loQregaY7B+2gPBBFs7sEYh1k3mYpKxdYMz+rMce43AO
> jcJkMg2yOOq1+jvwEsKFvRBEG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8n+pdJYn
> Xiw2frEkkP6rqCqWOtsISsv77qQsGg/ofHMUpvd8TkOgv1cuKEYVoGuOmThrD1KZKqm0a4s1
> lYvUbe7q7JZ9HbOy2OnXbMU9FWnSTGvCMzevXiwPt4oSqY8SzgLikndp1gk4PUnPqt2WEsW1
> 6l6jL55TZePxGUbzx+dnZjS/JsjjiYA1vI7VXeLovzzRF3reMGU4Phtg7O90OJCp2kboFq9p
> tSLpxpWl5czBvvjoSVFI0TBC9BUx+p47iWHBqEtzqBRK8Tr6wik0ibwyVxLCRev/AXh5lmLw
> XwAA
> 
> --y0ulUmNC+osPPQO6--
> 
> --H1spWtNR+x+ondvy
> Content-Type: application/pgp-signature
> Content-Disposition: inline
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.4 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> 
> iD8DBQE6aMPigJlk/lQdbnARAmIOAJ9ihldR40Ns9UGGzXHh4z2ZfAUsZwCePbYw
> PuzDI7d9YacXPEgJ3vOY8oo=
> =zefo
> -----END PGP SIGNATURE-----
> 
> --H1spWtNR+x+ondvy--

Re: libsvn_fs/delta.c

Posted by Kevin Pilch-Bisson <ke...@pilch-bisson.net>.
On Fri, Jan 19, 2001 at 10:45:10PM +0100, Branko Èibej wrote:
> Hi Kevin,
> 
> I couldn't apply your patch. Could you please post another one, made 
> with "cvs diff -up"? I'll take some time to look at it.


Here it is
> 
> -- 
> Brane Èibej
>     home:   <br...@xbc.nu>             http://www.xbc.nu/brane/
>     work:   <br...@hermes.si>   http://www.hermes-softlab.com/
>      ACM:   <br...@acm.org>            http://www.acm.org/
> 
> 
> ____________________________________________________________
> Get your free domain name and domain-based e-mail from      
> Namezero.com. New!  Namezero Plus domains now available.    
> Find out more at: http://www.namezero.com                   
> 

-- 
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson
kevin@pilch-bisson.net
http://www.pilch-bisson.net

Re: libsvn_fs/delta.c

Posted by Branko Čibej <br...@xbc.nu>.
Hi Kevin,

I couldn't apply your patch. Could you please post another one, made 
with "cvs diff -up"? I'll take some time to look at it.

-- 
Brane �ibej
    home:   <br...@xbc.nu>             http://www.xbc.nu/brane/
    work:   <br...@hermes.si>   http://www.hermes-softlab.com/
     ACM:   <br...@acm.org>            http://www.acm.org/

Re: libsvn_fs/delta.c

Posted by Ben Collins-Sussman <su...@newton.collab.net>.
Kevin Pilch-Bisson <ke...@pilch-bisson.net> writes:

> Sounds good, I'll take a look some more at the structure doc.  Also, I
> noticed that I made one incorrect assumption in two places, (having to
> do with strcmp and NULL), but I have fixed it.  I won't bother sending
> it since you aren't really interested...

Sorry, I didn't mean to sound too harsh... we'll take a look at your
patch when we get a minute.  Several of us are in San Francisco now,
so we don't have the time just yet to look at it.  Keep reading and
start looking at the low-level files (skel.c, fs.c, *-table.c).  :)

Re: libsvn_fs/delta.c

Posted by Kevin Pilch-Bisson <ke...@pilch-bisson.net>.
On Fri, Jan 19, 2001 at 02:08:27PM -0600, Ben Collins-Sussman wrote:
> Kevin Pilch-Bisson <ke...@pilch-bisson.net> writes:
> 
> > Anyway while doing so, I took a look at libsvn_fs/delta.c and found that
> > it didn't even come close to compiling, since it used an api that seems
> > to have either never been implemented, or has been removed.  I took the
> > liberty of patching up all the holes to the point where it at least
> > compiles, but I have no way or testing it.  If anyone wants it, a diff
> > is included.
> 
> The filesystem -- right now -- really doesn't exist yet.  The library
> should always compile (as a CVS checkin rule-of-conduct), but most of
> the time this means "just comment out the non-compiling files out of
> Makefile.am".  

I noticed that, I just thought it would give me something interested to
do.

> 
> Starting next week, we're going to be attacking the filesystem
> full-force, but starting from the bottom up.  If you look at
> libsvn_fs/structure, you'll notice that delta.c depends on *all* the
> underlying filesystem APIs below.  We're still working at the bottom
> right now.  The higher-level .c files have code, but a lot of may be
> old (from previous fs drafts.)  If you'd like to help code at the
> bottom, talk to us some more.  But for now, your attempt to make
> libsvn_fs compile isn't going to get you anywhere.  You've got to
> crawl before you can walk. :)
> 
Sounds good, I'll take a look some more at the structure doc.  Also, I
noticed that I made one incorrect assumption in two places, (having to
do with strcmp and NULL), but I have fixed it.  I won't bother sending
it since you aren't really interested, but at least I got my feet a
little bit wet with some of the subversion code.  I've never used apr
before either, so I am learning a bit about the library by using it.

TTYL,
-- 
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson
kevin@pilch-bisson.net
http://www.pilch-bisson.net

Re: libsvn_fs/delta.c

Posted by Ben Collins-Sussman <su...@newton.collab.net>.
Kevin Pilch-Bisson <ke...@pilch-bisson.net> writes:

> Anyway while doing so, I took a look at libsvn_fs/delta.c and found that
> it didn't even come close to compiling, since it used an api that seems
> to have either never been implemented, or has been removed.  I took the
> liberty of patching up all the holes to the point where it at least
> compiles, but I have no way or testing it.  If anyone wants it, a diff
> is included.

The filesystem -- right now -- really doesn't exist yet.  The library
should always compile (as a CVS checkin rule-of-conduct), but most of
the time this means "just comment out the non-compiling files out of
Makefile.am".  

Starting next week, we're going to be attacking the filesystem
full-force, but starting from the bottom up.  If you look at
libsvn_fs/structure, you'll notice that delta.c depends on *all* the
underlying filesystem APIs below.  We're still working at the bottom
right now.  The higher-level .c files have code, but a lot of may be
old (from previous fs drafts.)  If you'd like to help code at the
bottom, talk to us some more.  But for now, your attempt to make
libsvn_fs compile isn't going to get you anywhere.  You've got to
crawl before you can walk. :)