TODO
author Bryan O'Sullivan <bos@serpentine.com>
Fri, 29 Jul 2005 15:02:27 -0800
changeset 813 80fd2958235a
parent 759 d2c52a502473
child 847 f1555f48f884
child 871 c2e77581bc84
permissions -rw-r--r--
Adapt commit to use file matching code. The code is slightly complicated by the need to commit all outstanding changes in the repository if no file names are given (other commands operate on the current directory and its subdirectories in this case). localrepository.changes has acquired an optional match parameter, to let it filter out include/exclude options.
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
- export to git
389
ef8ff43f9c11 Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 380
diff changeset
     8
- Code cleanup: apply http://python.org/peps/pep-0008.html
368
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
     9
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    10
Core:
379
c8bd9793446d Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 368
diff changeset
    11
- difflib creating/removing files (fixed except dates: should be epoch)
c8bd9793446d Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 368
diff changeset
    12
- 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
    13
- get various options from hgrc (e.g. history always -v, tip always -q)
759
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    14
- hg over https:// and rsync://
543
61ead26cb8f0 Updated TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 542
diff changeset
    15
- hooks for new changesets getting pulled/imported etc.
493
30752b14f759 Make show_changeset show added/deleted files only in debug mode.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 490
diff changeset
    16
- make showing removed files (in history etc.) faster.
759
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    17
- hgmerge error: merge should abort nicely and running it again should work
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    18
- if hardlinking fails, pull should be used
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    19
- .hgignore should use new patterns
368
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    20
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    21
Commands:
759
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    22
- hg add <directory> should work (currently only: hg add -I <dir>)
368
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    23
- hg status <filename>: file rev, changeset rev, changed, added,
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    24
  deleted, sha-1
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    25
- select to pull a subset of the heads
759
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    26
- commands.py: number of args too much magic (e.g. in import_())
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    27
- optionally only show merges (two parents)
368
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    28
- automatic pull fallback to old-http://
759
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    29
- hg pull http://foo tries hostname
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    30
  'foo?cmd=changegroup&roots=0000000000000000000000000000000000000000'
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    31
- pass options to ssh (debug/verbose/remote hg command etc.)
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    32
- create a commented .hg/hgrc on init/clone
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    33
- hg pull default in a subdir doesn't work, if it is a relative path
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    34
- hg clone should store corrected relative paths, so moving a directory
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    35
  containing related repositories works again
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    36
- mention synonyms (co, ci, ...) in help
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    37
- show global options in help
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    38
- if everyone knows 'hg clone': hg init [DIR]
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    39
- if everyone knows 'hg update -m': remove -t
368
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    40
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    41
Web:
759
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    42
- optionally only show merges (two parents)
368
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    43
- one hgweb with many repos (another script)
759
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    44
- hgweb tip link too long (URL?cmd=changelog;rev=)
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    45
- hgweb: shorter links (e.g. cs=... instead of cmd=changeset;node=...?)
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
759
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    48
  features, number of entries per page
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
759
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    52
- allow verbose mode
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    53
- hide trivial parent (like in show_changeset)