Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #68634

Re: Question about Source Control

From Gregory Ewing <greg.ewing@canterbury.ac.nz>
Newsgroups comp.lang.python
Subject Re: Question about Source Control
Date 2014-03-21 11:19 +1300
Message-ID <bp17s6Fbs18U1@mid.individual.net> (permalink)
References <lg6s09$irl$1@ger.gmane.org> <lgbe6g$j9o$1@ger.gmane.org> <lge2v9$h0l$1@ger.gmane.org> <mailman.8290.1395299735.18130.python-list@python.org>

Show all headers | View raw


Chris Angelico wrote:
> You can then offer a non-source-control means of downloading that
> specific revision.

Just keep in mind the downside that you can't then
push or pull your changes directly back into the main
repository. You can generate a patch file for the
project maintainer to apply, however. Hg makes it
very easy to produce a patch file between any two
revisions.

Also, unless the project is truly ancient, the
whole history might not be as big as you expect.
The code presumably grew to its present size
incrementally, in an approximately monotonic
manner, so the sum of all the diffs is probably
about the same order of magnitude as the current
code size.

As an experiment, I just cloned a copy of the
CPython repository, and it's about 300MB. A
tarball of Python 3.2 that I downloaded and
compiled earlier is about 75MB. That's a ratio
of about 4, and CPython is a pretty ancient
project!

-- 
Greg

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Question about Source Control Chris Angelico <rosuav@gmail.com> - 2014-03-20 18:15 +1100
  Re: Question about Source Control Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2014-03-21 11:19 +1300
    Re: Question about Source Control Chris Angelico <rosuav@gmail.com> - 2014-03-21 09:34 +1100
    Re: Question about Source Control albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-03-22 17:53 +0000

csiph-web