/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to doc/darcs.txt

  • Committer: Martin Pool
  • Date: 2005-06-28 03:02:31 UTC
  • Revision ID: mbp@sourcefrog.net-20050628030231-d311e4ebcd467ef4
Merge John's import-speedup branch:

                                                                                         
  777 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 22:20:32 -0500
      revision-id: john@arbash-meinel.com-20050627032031-e82a50db3863b18e
      bzr selftest was not using the correct bzr

  776 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 22:20:22 -0500
      revision-id: john@arbash-meinel.com-20050627032021-c9f21fde989ddaee
      Add was using an old mutter

  775 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 22:02:33 -0500
      revision-id: john@arbash-meinel.com-20050627030233-9165cfe98fc63298
      Cleaned up to be less different

  774 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 21:54:53 -0500
      revision-id: john@arbash-meinel.com-20050627025452-4260d0e744edef43
      Allow BZR_PLUGIN_PATH='' to negate plugin loading.

  773 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 21:49:34 -0500
      revision-id: john@arbash-meinel.com-20050627024933-b7158f67b7b9eae5
      Finished the previous cleanup (allowing load_plugins to be called twice)

  772 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 21:45:08 -0500
      revision-id: john@arbash-meinel.com-20050627024508-723b1df510d196fc
      Work on making the tests pass. versioning.py is calling run_cmd directly, but plugins have been loaded.

  771 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 21:32:29 -0500
      revision-id: john@arbash-meinel.com-20050627023228-79972744d7c53e15
      Got it down a little bit more by removing import of tree and inventory.

  770 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 21:26:05 -0500
      revision-id: john@arbash-meinel.com-20050627022604-350b9773ef622f95
      Reducing the number of import from bzrlib/__init__.py and bzrlib/branch.py

  769 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 20:32:25 -0500
      revision-id: john@arbash-meinel.com-20050627013225-32dd044f10d23948
      Updated revision.py and xml.py to include SubElement.

  768 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 20:03:56 -0500
      revision-id: john@arbash-meinel.com-20050627010356-ee66919e1c377faf
      Minor typo

  767 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 20:03:13 -0500
      revision-id: john@arbash-meinel.com-20050627010312-40d024007eb85051
      Caching the import

  766 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 19:51:47 -0500
      revision-id: john@arbash-meinel.com-20050627005147-5281c99e48ed1834
      Created wrapper functions for lazy import of ElementTree

  765 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 19:46:37 -0500
      revision-id: john@arbash-meinel.com-20050627004636-bf432902004a94c5
      Removed all of the test imports of cElementTree

  764 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 19:43:59 -0500
      revision-id: john@arbash-meinel.com-20050627004358-d137fbe9570dd71b
      Trying to make bzr startup faster.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Darcs compared to Arch
 
2
======================
 
3
 
 
4
Simpler to use; perhaps harder to completely understand.
 
5
 
 
6
Always local; always fast.
 
7
 
 
8
Patch commution is slow and perhaps doesn't clearly do what people
 
9
want.  
 
10
 
 
11
Too slow!
 
12
 
 
13
Can't reliably get back to any previous point.  Explicitly not
 
14
addressing source archive/librarian function.
 
15
 
 
16
Loads everything into memory.
 
17
 
 
18
Written in Haskell.
 
19
 
 
20
A really simple pre-commit check hook is remarkably useful.
 
21
 
 
22
http://www.scannedinavian.org/DarcsWiki/DifferencesFromArch
 
23
 
 
24
 
 
25
 
 
26
Sometimes useful to be able to set email per-branch, for people who
 
27
work on different projects under different personas.
 
28
 
 
29
 
 
30
Token replace
 
31
-------------
 
32
 
 
33
Very cute; possibly handy; not absolutely necessary in most places.
 
34
Somewhat limited by the requirement that it be reversible.
 
35
 
 
36
This is one of very few cases where it does seem necessary that we
 
37
store deltas, rather than tree states.  But that seems to cause other
 
38
problems in terms of being able to reliably sign revisions.
 
39
 
 
40
This can perhaps be inferred by a smart 3-way merge tool.  Certainly
 
41
you could have it do sub-line merges.
 
42
 
 
43
Partial commit
 
44
--------------
 
45
 
 
46
darcs allows you to commit only some of the changes to a single file.
 
47
This is like the common feature of commiting only a subset of changed
 
48
files, but taken to a higher level.
 
49
 
 
50
It is useful more often than one might think: it is common to fix some
 
51
documentation 'on the wing' and while strictly it should be in a
 
52
separate commit it is not always worth the hassle to back out changes,
 
53
fix the docs, then do the real change.  Similarly for making a
 
54
separate branch.
 
55
 
 
56
Although the idea is very good, the current darcs implementation is
 
57
limited to selecting by patch hunk, which means that neighbouring
 
58
changes cannot be separated.  Fixing this probably means having some
 
59
kind of pluggable GUI to build the file-to-be-committed or an edited
 
60
patch, possibly using something like meld, emacs, or dirdiff.  Another
 
61
approach some people might like is editing the diff file to chop out
 
62
hunks.
 
63
 
 
64
I don't think this needs to be on by default, as it is in darcs.  It
 
65
is usual to commit all the changes.
 
66
 
 
67
For this to work safely, it is good to have a commit hook that
 
68
builds/tests the tree.  Of course this needs to be evaluated against
 
69
the tree as it will be committed (taking account of partial commits),
 
70
not the working tree.
 
71
 
 
72
 
 
73
Schwern
 
74
-------
 
75
 
 
76
* http://www.scannedinavian.org/DarcsWiki/SchwernLikesDarcs
 
77
* http://www.scannedinavian.org/DarcsWiki/SchwernHatesDarcs
 
78
 
 
79
I think we hit most of these; more evidence for the hypothesis that
 
80
what people really like about darcs is the simple interface not the
 
81
patch-commutation model.
 
 
b'\\ No newline at end of file'