List Info

Thread: svn commit: r2164 - trunk/cvs2svn_lib




svn commit: r2164 - trunk/cvs2svn_lib
user name
2006-05-21 19:29:52
Oswald Buddenhagen wrote:
> On Sun, May 21, 2006 at 03:33:57PM -0000, mhaggertigris.org wrote:
>>  (CVSBranch): Inherit from CVSLineOfDevelopment.
> 
> euhm?
> 
>>+++ trunk/cvs2svn_lib/cvs_branch.py	2006-05-21
08:33:57-0700
>>+class CVSLineOfDevelopment:
>>+[...]
>>+class CVSTrunk:
>> [...]
>> class CVSBranch:

Thanks, ossi, I just fixed this.

But then I realized that I have been confusing two concepts.
 One is the
LineOfDevelopment concept, which I just renamed and moved to
another
file.  I haven't gotten too far fleshing out that idea.

The other is the one that I really wanted to get at: the
concept of an
atom of CVS history, of which one type is "file
revision" (i.e.,
CVSRevision), one is "create a tag", and one is
"create a branch".  I
will start working on classes for these concepts now.

The idea is to throw all three of these things together in a
big
database from which the dependency graph can be derived. 
These will
also be the things that get grouped together into
"blobs" (do you have
an idea for a name for the "blob" class?  Maybe
ChangeSet?)

I think I'll name the atoms CVSRevision, CVSBranch, and
CVSTag and allow
them all to inherit from a new base class, CVSItem.  The
CVSItem class
will support access to parents and children, a CVSFile, and
who knows
what else...

Michael

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribecvs2svn.tigris.org
For additional commands, e-mail: dev-helpcvs2svn.tigris.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )