Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r2515 - branches/fsvs-1.2.x/fsvs: . src

fsvs
Discussion topic

Back to topic list

svn commit: r2515 - branches/fsvs-1.2.x/fsvs: . src

Author pmarek
Full name P.Marek
Date 2019-05-03 17:13:56 PDT
Message Author: pmarek
Date: 2019-05-03 07:48:44-0700
New Revision: 2515

Modified:
   branches/fsvs-1.2.x/​fsvs/CHANGES
   branches/fsvs-1.2.x/​fsvs/src/commit.c

Log:
Ensure correctness of local fsvs:original-md5 as well.

Modified: branches/fsvs-1.2.x/​fsvs/CHANGES
Url: http://fsvs.tigris.o​rg/source/browse/fsv​s/branches/fsvs-1.2.​x/fsvs/CHANGES?view=​diff&pathrev=251​5&r1=2514&r2​=2515
====================​====================​====================​==================
--- branches/fsvs-1.2.x/​fsvs/CHANGES (original)
+++ branches/fsvs-1.2.x/​fsvs/CHANGES 2019-05-03 07:48:44-0700
@@ -1,5 +1,7 @@
 Changes in 1.2.10
 - Restore properties like the update- and commit-pipe on "sync-repos"
+- When using a commit-pipe store the original (non-transformed) MD5
+ in the local properties as well, so that they match the remote data.
 
 Changes in 1.2.9
 - Various small fixes that got visible with new compiler versions and/or LLVM.

Modified: branches/fsvs-1.2.x/​fsvs/src/commit.c
Url: http://fsvs.tigris.o​rg/source/browse/fsv​s/branches/fsvs-1.2.​x/fsvs/src/commit.c?​view=diff&pathre​v=2515&r1=2514​&r2=2515
====================​====================​====================​==================
--- branches/fsvs-1.2.x/​fsvs/src/commit.c (original)
+++ branches/fsvs-1.2.x/​fsvs/src/commit.c 2019-05-03 07:48:44-0700
@@ -432,6 +432,7 @@
     svn_stringbuf_t *str;
     struct encoder_t *encoder;
     int transfer_text, has_manber;
+ hash_t db;
 
 
     str=NULL;
@@ -596,6 +597,12 @@
             stg=svn_string_create(cp, pool);
             STOPIF_SVNERR( editor->change_file_prop,
                     (baton, propname_origmd5, stg, pool) );
+
+
+ STOPIF( prp__open_byestat(sts,
+ GDBM_NEWDB | HASH_REMEMBER_FILENAME, &db), NULL);
+ STOPIF( prp__set(db, propname_origmd5, cp, -1), NULL);
+ STOPIF( hsh__close(db, 0), NULL);
         }
 
     }

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r2515 - branches/fsvs-1.2.x/fsvs: . src pmarek P.Marek 2019-05-03 17:13:56 PDT
Messages per page: