Giter Club home page Giter Club logo

Comments (2)

mhagger avatar mhagger commented on September 27, 2024

Thanks for the careful report and the research. Your conclusions could be corroborated if you try converting the same file, first with the --use-rcs and then with the --use-cvs option, to see if those conversions give the result that you expect. If they do, then that's pretty conclusive proof that the --use-internal-co version needs to be adjusted. If they fail, or if they give different results, then the analysis might need to be adjusted.

from cvs2svn.

futatuki avatar futatuki commented on September 27, 2024

Thank you for the suggestion. Both of with --use-rcs option and with --use-cvs option, cvs2svn produced as I expected, all r1.1 to r1.5 rivision of irregular.txt file checkout correctly from converted repository as r3 to r7.

Diff of dump files with CVS and with RCS are just UUID and svn:date of r1.

--- irregular-rcs-test-cvs-dump.txt     2021-12-02 19:59:31.895085000 +0900
+++ irregular-rcs-test-rcs-dump.txt     2021-12-02 19:59:46.421823000 +0900
@@ -1,6 +1,6 @@
 SVN-fs-dump-format-version: 2
 
-UUID: 7caf5ac0-5e53-ec11-9708-001c4272a9f0
+UUID: 78e207b6-5e53-ec11-9708-001c4272a9f0
 
 Revision-number: 0
 Prop-content-length: 56
@@ -9,7 +9,7 @@
 K 8
 svn:date
 V 27
-2021-12-02T10:58:16.104635Z
+2021-12-02T10:57:58.781240Z
 PROPS-END
 
 Revision-number: 1

And with --use-internal-co,

With the incomplete Subversion repository irregular-rcs-test-broken.svn, r1.1 to r1.4 revision files of irregular.txt exactly equal to ones of original CVS repo's.

This was incorrect. Only r1.1 == r3 was the same. All other revisions are broken.

After applying PR #19, cvs2svn with --use-internal-co successfully convert the repository, and its dump file differ only repos UUID and svn:date of r1.

from cvs2svn.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.