TODO
author mason@suse.com
Fri, 12 Aug 2005 09:57:59 -0800
changeset 873 4480e035d838
parent 853 b8ff3f8c4062
child 871 c2e77581bc84
child 874 d4cb383e7de7
child 894 62ec665759f2
child 896 01215ad04283
permissions -rw-r--r--
addremove was not correctly finding removed files when given a list of files to look at. These end up with a src of 'f' from walk() but no longer exist on the filesystem. Index: mine/mercurial/commands.py ===================================================================
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
- pass options to ssh (debug/verbose/remote hg command etc.)
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    30
- create a commented .hg/hgrc on init/clone
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    31
- 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
    32
- hg clone should store corrected relative paths, so moving a directory
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    33
  containing related repositories works again
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    34
- if everyone knows 'hg clone': hg init [DIR]
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    35
- if everyone knows 'hg update -m': remove -t
853
b8ff3f8c4062 Update TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 847
diff changeset
    36
- hg revert does not forget added files, it probably should.
b8ff3f8c4062 Update TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 847
diff changeset
    37
- hg pull should state if there are more heads than before.
b8ff3f8c4062 Update TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 847
diff changeset
    38
- hg clone: locking the repository while hardlinking.
b8ff3f8c4062 Update TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 847
diff changeset
    39
- hg clone: fall back to pull if hardlink not possible.
b8ff3f8c4062 Update TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 847
diff changeset
    40
- "hg diff not_existing" should yield an error message.
368
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    41
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    42
Web:
759
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    43
- optionally only show merges (two parents)
368
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    44
- one hgweb with many repos (another script)
759
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    45
- hgweb tip link too long (URL?cmd=changelog;rev=)
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    46
- 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
    47
- hgweb: deliver static files (e.g. favicon, stylesheets)
368
4b1cec05f3eb Add a TODO list
mpm@selenic.com
parents:
diff changeset
    48
- hgweb personalization: timezone (display/change), display of
759
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    49
  features, number of entries per page
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
759
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    53
- allow verbose mode
d2c52a502473 Updated TODO.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 645
diff changeset
    54
- hide trivial parent (like in show_changeset)
853
b8ff3f8c4062 Update TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 847
diff changeset
    55
- default port for hg serve configurable in hgrc
b8ff3f8c4062 Update TODO
Thomas Arendsen Hein <thomas@intevation.de>
parents: 847
diff changeset
    56
- download tarball via web interface