Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r10 - in trunk: . fsvs/doc fsvs/src

fsvs
Discussion topic

Hide all messages in topic

All messages in topic

svn commit: r10 - in trunk: . fsvs/doc fsvs/src

Author pmarek
Full name P.Marek
Date 2005-10-04 22:58:56 PDT
Message Author: pmarek
Date: Tue Oct 4 22:58:55 2005
New Revision: 10

Modified:
   trunk/ (props changed)
   trunk/fsvs/doc/TODO
   trunk/fsvs/src/commit.c
   trunk/fsvs/src/est_ops.c
Log:
Use the given MD5 on commit by svn_delta_send_stream() to store.
Don't calculate for status.



Modified: trunk/fsvs/doc/TODO
Url: http://fsvs.tigris.o​rg/source/browse/fsv​s/trunk/fsvs/doc/TOD​O?view=diff&rev=​10&p1=trunk/fsvs​/doc/TODO&r1=9​&p2=trunk/fsvs/doc​/TODO&r2=10
====================​====================​====================​==================
--- trunk/fsvs/doc/TODO (original)
+++ trunk/fsvs/doc/TODO Tue Oct 4 22:58:55 2005
@@ -5,7 +5,6 @@
 
 - segfault if repos path wrong/repos not found
 - on commit: open file, and do add_file afterwards - for temp files which no longer exist on commit.
-- commit: transferred files should have the md5_repos set from the sent data.
 - cache for user/group. apr asks every time.
 
 - if running without caps for devices/chown: abort/ignore/ignore always

Modified: trunk/fsvs/src/commit.c
Url: http://fsvs.tigris.o​rg/source/browse/fsv​s/trunk/fsvs/src/com​mit.c?view=diff&​rev=10&p1=trunk/​fsvs/src/commit.c​&r1=9&p2=trunk/​fsvs/src/commit.c​&r2=10
====================​====================​====================​==================
--- trunk/fsvs/src/commit.c (original)
+++ trunk/fsvs/src/commit.c Tue Oct 4 22:58:55 2005
@@ -158,7 +158,6 @@
     void *delta_baton;
     svn_error_t *status_svn;
     svn_stream_t *s_stream;
- unsigned char md5[APR_MD5_DIGESTSIZE];
     char *cp;
     char *filename;
     int l;
@@ -223,7 +222,9 @@
              (s_stream,
                 delta_handler,
                 delta_baton,
- md5, pool) );
+ sts->md5_should, pool) );
+
+ memcpy(sts->md5_is, sts->md5_should, sizeof(sts->md5_is));
 
     if (str)
     {

Modified: trunk/fsvs/src/est_ops.c
Url: http://fsvs.tigris.o​rg/source/browse/fsv​s/trunk/fsvs/src/est​_ops.c?view=diff​&rev=10&p1=trunk​/fsvs/src/est_ops.c​&r1=9&p2=trun​k/fsvs/src/est_ops.c​&r2=10
====================​====================​====================​==================
--- trunk/fsvs/src/est_ops.c (original)
+++ trunk/fsvs/src/est_ops.c Tue Oct 4 22:58:55 2005
@@ -252,10 +252,6 @@
     int is_dir, is_dev, status;
 
 
- /* just calling for checksum calculation
- * - if already done won't do again */
- STOPIF( cs__compare_file(sts, path, &is_dir), NULL);
-
     if (sts->parent)
         parent_ino=sts->p​arent->st.st_ino;​
     else
Messages per page: