TODO
author mpm@selenic.com
Wed, 22 Jun 2005 11:27:50 -0800
changeset 433 79c694462294
parent 429 688d03d6997a
child 447 d8d652c1f372
permissions -rw-r--r--
Add bdiff.blocks / minor performance tweaks -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Add bdiff.blocks / minor performance tweaks This refactors bdiff.bdiff so that we can get a list of matching blocks of line numbers for use by annotate/unidiff. Minor performance tweaks: - - add a field for equivalence so we can keep h around a bit longer for cmp - - mix len into the hash to reduce collisions - - move an operation into the slow path in longest_match manifest hash: b1aee590b6291b31069ea8a86b6aa8fb259ac244 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCubu2ywK+sNU5EO8RAm4FAJ9r10aJpT7qA96nqGYFHcuy4XcIHgCfeFx5 q0PyTXeZQc7Fw5kwEPcoykI= =QXSb -----END PGP SIGNATURE-----
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
368
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
     1
General:
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
     2
- Better documentation
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
     3
- More regression tests
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
     4
- More specific try/except.
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
     5
- less code duplication, more code in the right places
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
     6
- python 2.2 support
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
     7
- better import support
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
     8
- export to git
423
25afb21d97ba Support for 'hg --version'. setup.py stores version from hg repository.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 389
diff changeset
     9
- Add standard files: AUTHORS, CREDITS, ChangeLog? What else?
389
ef8ff43f9c11 Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 380
diff changeset
    10
- Code cleanup: apply http://python.org/peps/pep-0008.html
368
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    11
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    12
Core:
379
c8bd9793446d Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 368
diff changeset
    13
- difflib creating/removing files (fixed except dates: should be epoch)
c8bd9793446d Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 368
diff changeset
    14
- directory foo.d or foo.i with existing file foo (use some quoting?)
c8bd9793446d Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 368
diff changeset
    15
- get various options from hgrc (e.g. history always -v, tip always -q)
368
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    16
- allow full decimal (part of) hash
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    17
  hg export 5005048662 -> OverflowError: long int too large to convert
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    18
  to int
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    19
- push support (hack exists)
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    20
- hg over ssh://
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    21
- commit mailinglist/trigger/hooks
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    22
- fast diff extension
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    23
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    24
Commands:
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    25
- hg status <filename>: file rev, changeset rev, changed, added,
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    26
  deleted, sha-1
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    27
- select to pull a subset of the heads
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    28
- commands.py: number of args too much magic (e.g. in patch())
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    29
- adding a tag with "hg tag foobar"
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    30
- automatic pull fallback to old-http://
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    31
- hg init|pull http://example.com doesn't say that no repo was found
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    32
- hg annotate -u and hgweb annotate with long $EMAIL
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    33
- hg -v history doesn't show tkmerge as modified (removed).
389
ef8ff43f9c11 Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 380
diff changeset
    34
- hg import vs. hg patch in help etc., import is a reserved python
ef8ff43f9c11 Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 380
diff changeset
    35
  word, PEP8 mentions trailing underscore as a convention for this.
379
c8bd9793446d Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 368
diff changeset
    36
- hg pull default in a subdir doesn't work, if it is a relative path
c8bd9793446d Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 368
diff changeset
    37
- optionally only show merges (two parents or parent != changeset-1, etc.)
368
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    38
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    39
Web:
379
c8bd9793446d Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 368
diff changeset
    40
- show tags in hgweb
368
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    41
- show parent changeset number in hgweb
379
c8bd9793446d Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 368
diff changeset
    42
- optionally only show merges (two parents or parent != changeset-1, etc.)
368
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    43
- one hgweb with many repos (another script)
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    44
- hgweb tip link too verbose
379
c8bd9793446d Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 368
diff changeset
    45
- hgweb: deliver static files (e.g. favicon, stylesheets)
368
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    46
- hgweb personalization: timezone (display/change), display of
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    47
  features
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    48
- hg export 240 shows -tkmerge (good), hgweb does not (bad).
379
c8bd9793446d Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 368
diff changeset
    49
- some web servers think hgweb.cgi.[di] is a CGI script with old-http://
c8bd9793446d Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 368
diff changeset
    50
  (use quoting (see foo.d in Core) or document server configurations?)
c8bd9793446d Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 368
diff changeset
    51
- link children in hgweb