TODO
author mpm@selenic.com
Tue, 21 Jun 2005 19:31:13 -0800
changeset 419 28511fc21073
parent 389 ef8ff43f9c11
child 423 25afb21d97ba
child 429 688d03d6997a
permissions -rw-r--r--
[PATCH] file seperator handling for the other 'OS' -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [PATCH] file seperator handling for the other 'OS' From: K Thananchayan <thananck@yahoo.com> The following patch maintains repo root relative source file names in canonical form (with '/' as file seperator). Mercurial calls os.path.join, os.path.normpath, os.path.walk that use platform's file seperator. This patch does not change seperator in these circumstances (except when the result refer to source files). manifest hash: 2fbb4cb0d3d0bc4f4de5c7c8803fb738072ec6c5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCuNuBywK+sNU5EO8RAhAZAKCV8cz11+rdof9n1tHb0uDScF34GgCeITNi 4aVikToPXqXyReN9kFP5pnY= =xcV5 -----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
379
c8bd9793446d Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 368
diff changeset
     9
- Add standard files: AUTHORS, CREDITS, COPYING. 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
- version reporting (hg --version / version.py / setup.py etc.)
c8bd9793446d Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 368
diff changeset
    37
- 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
    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
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    40
Web:
379
c8bd9793446d Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 368
diff changeset
    41
- show tags in hgweb
368
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    42
- show parent changeset number in hgweb
379
c8bd9793446d Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 368
diff changeset
    43
- optionally only show merges (two parents or parent != changeset-1, etc.)
368
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    44
- one hgweb with many repos (another script)
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    45
- hgweb tip link too verbose
379
c8bd9793446d Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 368
diff changeset
    46
- hgweb: deliver static files (e.g. favicon, stylesheets)
368
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    47
- hgweb personalization: timezone (display/change), display of
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    48
  features
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    49
- hg export 240 shows -tkmerge (good), hgweb does not (bad).
379
c8bd9793446d Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 368
diff changeset
    50
- 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
    51
  (use quoting (see foo.d in Core) or document server configurations?)
c8bd9793446d Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 368
diff changeset
    52
- link children in hgweb