TODO
author mpm@selenic.com
Fri, 24 Jun 2005 22:51:39 -0800
changeset 460 6409d9a0df43
parent 447 d8d652c1f372
child 483 27f5569a5814
child 484 934279f3ca53
permissions -rw-r--r--
add dirstate debugging commands -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 add dirstate debugging commands As I've played with various different merges and more recently rawcommit, I've found the following patch to be very very helpful in figuring out whether the dirstate is being left in a consistent or inconsistent state with respect to the current manifest. I attempted to deduce the invariants that were assumed by the current code, and then check it in this code. I may or may not have captured the design intent in this check; if not, I'd be very happy to hear more clearly what was intended, so that I can write tests to that expectation. Anyway, here's the patch. Not sure if it's a good idea to commit it to the mainline, or just leave it as a debugging aid. I attempted to package it so that it doesn't interfere with normal usage. Michael Fetterman (tweaked by mpm: remove -d magic) manifest hash: 869f5b5f954dc0f46ba27322359e811d5e21d71c -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCvP77ywK+sNU5EO8RArmtAKCCVuI2slANzWZ26P5edtH/ixdwNwCfZLWl 5P+V+C92II3usO4YW2MULKY= =/Pv4 -----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
447
d8d652c1f372 Update TODO
mpm@selenic.com
parents: 429
diff changeset
    19
- better push support (hack exists)
368
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
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    23
Commands:
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    24
- hg status <filename>: file rev, changeset rev, changed, added,
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    25
  deleted, sha-1
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    26
- select to pull a subset of the heads
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    27
- commands.py: number of args too much magic (e.g. in patch())
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    28
- automatic pull fallback to old-http://
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    29
- 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
    30
- hg annotate -u and hgweb annotate with long $EMAIL
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    31
- hg -v history doesn't show tkmerge as modified (removed).
379
c8bd9793446d Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 368
diff changeset
    32
- 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
    33
- optionally only show merges (two parents or parent != changeset-1, etc.)
368
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    34
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    35
Web:
379
c8bd9793446d Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 368
diff changeset
    36
- show tags in hgweb
368
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    37
- show parent changeset number in hgweb
379
c8bd9793446d Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 368
diff changeset
    38
- optionally only show merges (two parents or parent != changeset-1, etc.)
368
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    39
- one hgweb with many repos (another script)
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    40
- hgweb tip link too verbose
379
c8bd9793446d Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 368
diff changeset
    41
- hgweb: deliver static files (e.g. favicon, stylesheets)
368
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    42
- hgweb personalization: timezone (display/change), display of
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    43
  features
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    44
- hg export 240 shows -tkmerge (good), hgweb does not (bad).
379
c8bd9793446d Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 368
diff changeset
    45
- 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
    46
  (use quoting (see foo.d in Core) or document server configurations?)
c8bd9793446d Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 368
diff changeset
    47
- link children in hgweb