Re: crm versions in CVS

Johannes Berg <[email protected]>
Newsgroups gmane.mail.spam.crm114
Message-ID <[email protected]>
Corey,

I think you misunderstood my point. Let me explain.

> > While that is possible, the resulting trees will most likely not be
> > mergeable because at some point some slightly different patch
> > description will creep in.
>  
>   I see two points here:
>   1. under a dvcs, trees diverge over time and become difficult (sometimes 
> impossible) to merge.  This would seem to be a general problem of any 
> distributed system, and also one that is media independent.

Yes, but at least once you have merged you don't have to re-do that
merge again, consider a case where Bill publishes a tree and I start
hacking on it. We then have
           /--------- my version ----------I merge both
his-orig                                   /
          \-------- his continued version /

Once I merge, any decent system will remember that for all future. If,
however, my tree was only equivalent on a tree basis and didn't have
equivalent tree/commit IDs as well, then it would be unable to remember
that. This is rather likely to happen when we both work only based on
patches.

>   2. Slightly different patch descriptions cause problems under git.  I've not 
> used git in a multi-person setting, and am not terribly familiar with its 
> quirks.  So I really don't know what this means.

>   As to problem #2, doesn't this just mean that a naming convention for 
> patches needs to be proposed and enforced which makes the names be unique?

The problem is that in git, commit IDs are based on the commit
description. So if you, say commit a patch with the description
"fix hyperspace\r\n" it will get one ID, while if I commit it after
line-conversion "fix hyperspace\n" it will get another ID and the system
will be unable to tell automatically that the same patch got committed.
This problem is resolved if I simply pull in the patch from Bill, then I
get binary identically object.

>   Would these issues be mitigated (or even resolved) if every release also had 
> a tarball of the git repository from whence it came, on which developers were 
> expected to rebase their local repositories?

I'm not sure, and rebasing isn't necessarily a good idea. What could
work would be to publish the ".git" directory so you can rebase on the
actual git tree rather than just the source tree.

johannes

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

_______________________________________________
Crm114-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crm114-general
signature.asc (application/pgp-signature, 828 B)
-----BEGIN PGP SIGNATURE-----
Comment: Johannes Berg (powerbook)

iQIVAwUAR+ueXqVg1VMiehFYAQJM7w/+OL6EL8yH6UU1OXFf/pwDt1b5Jb35r06Y
/ECM2cyyofE2nbQVLUtYkGU4VzueJSVV6TnG4cMH8hAqZogSPwXCTVlzhMNMDzBK
GwlPgqDM82gDcFdpY5Yy73KqjkOSbvXbkyD2gonWIUTuJ9EKaUR+X+j0/ECSH8SW
oHMykd4SEI6M1rmVJ/W+k4bpYR0DZ195nDgw7ReqkclFYmYvE1Yu0tZx71mUfPcf
Efakb67M1Y0ij5V0XqkOaTFpOhZBu49f9xhiBhsjLmuAw+LhTg2QLDXNjvMsBip6
P02J1ZS2z/yOmcW/w8/IW80ZhwB5tJaGTe+CgxDQ/4USIboHG5d/ary1TweX7qJx
WyuKniJc74sZgjBs4Q6Js49ig+3qI3Zqp/2YSAWh6BvBigpmr20yxf8xve1PXj2C
igmksN8c3xqIjaT02slZ0TMd8TzFTXEsF4YNw/CjRqKV48PNl+PWwFlIe/PL1nhJ
G5NGN12idDZWvEMZb01OTVBB4kaaSx7TEktEPvMK5toGgCvvEIc9MRmQGtz9WxqD
AmzsgQoBYnOsvG/hvyX1xdBmVdIxJjYaOTkUOZyL+2uDOV0S6/tGZ+13AHA6IqrW
vS9GD1DTD8qrZooDQxsehx6kQmhxXVNgjhe0/hUBCyRJ4ydTYlTgl1MsUl9jzy4L
ghZII3IEYOg=
=svfx
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.