Proceedings 26th Annual International Computer Software and Applications (2002)
Aug. 26, 2002 to Aug. 29, 2002
Haifeng Shen , Griffith University
Chengzheng Sun , Griffith University
Version control systems are widely used to support distributed concurrent software development, where document merging is a key function. Most existing systems adopt state-based merging, which relies on the derivation of deltas among documents. The derivation of deltas involves transferring documents over the network and executing time-consuming text differentiation algorithms, which may result in a poor system response. Operation-based merging saves executed operations in logs as deltas, thus eliminating the need for deriving deltas. However, for the operation-based merging to be adopted in version control systems, a major technical challenge is how to keep the size of logs small so that it requires less time to transfer the log over the network and to re-execute operations in the log. In this paper, we contribute a novel compression algorithm, which is able to minimize the size of a log as well as the number of operations within it. It has been proven both correct and complete in the sense that the compressed log has the same effect as the original one and operations that can be merged have already been merged.
H. Shen and C. Sun, "A Log Compression Algorithm for Operation-based Version Control Systems," Proceedings 26th Annual International Computer Software and Applications(COMPSAC), Oxford, England, 2002, pp. 867.