Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #67452 > unrolled thread
| Started by | Chris Angelico <rosuav@gmail.com> |
|---|---|
| First post | 2014-03-03 03:02 +1100 |
| Last post | 2014-03-03 03:02 +1100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: source code control and documentation Chris Angelico <rosuav@gmail.com> - 2014-03-03 03:02 +1100
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2014-03-03 03:02 +1100 |
| Subject | Re: source code control and documentation |
| Message-ID | <mailman.7584.1393776156.18130.python-list@python.org> |
On Mon, Mar 3, 2014 at 2:56 AM, Rita <rmorgan466@gmail.com> wrote: > I am trying to achieve this, every time I commit to svn I automatically run > hooks to test my libraries, ATM I am doing this manually > > cd libs > PYTHONPATH=. python test_lib.py > > and if everything passes I do a svn commit -m 'committing code' > > I don't have access to my svn server so I can't create my own hooks (or can > I?) This is really a subversion question, not a Python one. But this much I'll say: svn is vastly inferior to modern version control systems like git and Mercurial (the latter being written in Python and used for CPython and many other Python-related projects). You can easily import your svn history into either git or Mercurial (at least, I'm pretty sure Mercurial offers good import facilities - if not, there are ways around the problem), so you won't lose anything by switching. And hook support is excellent. Personally, I'm very friendly with git - we work together really well. Mercurial and I are like business acquaintances that don't see each other quite as often, and interactions are a bit more formal and stilted. But I know that either one will serve you well, and far more easily than svn does. ChrisA
Back to top | Article view | comp.lang.python
csiph-web