Why I Love DVCS

Over the last four days I've had patchy Internet connectivity but I've been hacking on Tasks a bit in the evening and on flights. The result:

$ svn diff | diffstat
 README                        |   33 +++++++++++++++++++++++++++
 src/Makefile.am               |    1 
 src/koto-group-filter-model.c |    4 +++
 src/koto-task-editor-dialog.c |   40 +++++++++++++++++---------------
 src/koto-task-editor-dialog.h |    5 +---
 src/koto-task-editor.c        |   47 +++++++++++++++++++++++---------------
 src/koto-task-store.c         |   37 ++++++++++++++++++++++++------
 src/koto-task-store.h         |    3 ++
 src/koto-task-view.c          |   45 ++++++++++++++++++++++++++++++++-----
 src/koto-task.c               |   51 ++++++++++++++++++++++++++++++++++++++++++
 src/koto-task.h               |   26 +++++++++++++++++++++
 src/test.c                    |   48 ++++++++++++++++++++++++++++++++++-----
 12 files changed, 281 insertions(+), 59 deletions(-)

Now I wish I had the foresight to clone the Tasks repository into a Bazaar branch so that I could commit as I went, and then merge it all back when I got home. But no, I have several bug fixes and new features in this mega-diff, and I'm too anal to commit it in a single go. Expect a Tasks 0.2 soon!

10:30 Wednesday, 28 Feb 2007 [#] [computers] (8 comments)

Posted by JM Ibanez at Wed Feb 28 10:55:31 2007:
Does Bazaar support SVN bi-directionally? Just curious. I've been using Git for most of my projects at my company, even if we're using SVN as our core repository format-- Git supports bi-directional access to an SVN repo via git-svn(1), which is a godsend. Commits to my git repo (cloned from the SVN repo) appear in the upstream SVN repo as individual commits.

(Someone enlighten me: I'm reading http://bazaar-vcs.org/BzrForeignBranches/Subversion and I can't figure out whether or not pushing Bazaar revisions into SVN will result in one big commit or several. Either that, or I'm just lacking sleep.)
Posted by Ross at Wed Feb 28 11:01:14 2007:
I don't know either, as I've not made bzr-svn work.  I need to either grab it from git, or get a clone on launchpad.net setup.
Posted by romain at Wed Feb 28 11:01:29 2007:
Or just use SVK...
Posted by Np237 at Wed Feb 28 11:01:37 2007:
You should consider trying svk. It is entirely compatible with svn, but allows offline commits. AIUI this is exactly what you're looking for.
Posted by JM Ibanez at Wed Feb 28 11:33:34 2007:
Ross: You really should try Git. :D

Np237: I personally prefer Git over SVK, as I don't want to have to figure out the whole difference between SVK depots and SVN repositories -- as far as my particular use cases, I only have to do 'git-svn  init <some_svn_url>' into a git repo, then 'git-svn fetch' (which allows me to grab all of the repo history as well).
Posted by markmc at Wed Feb 28 11:54:38 2007:
If you have to stick with SVN/CVS, try using quilt in order to keep stuff seperated when hacking offline ... it's a nice and simple tool
Posted by michele at Wed Feb 28 12:43:32 2007:
Mercurial rocks! :-P

Looking forward to Tasks 0.2 and maybe a .deb package... ;-)
Posted by Jelmer vernooij at Thu Mar 1 13:23:05 2007:
Yes, bzr-svn is bidirectional (you can import SVN branches into Bazaar and push existing Bazaar revisions into Subversion).

If you push to Subversion, it will currently add each mainline revision as a separate commit. The revisions not in mainline will only be visible using Bazaar.

Name:


E-mail:


URL:


Add 6 and 3 (required):


Comment: