Mercurial > hg > mercurial-crew-with-dirclash
annotate TODO @ 523:003df62ae39f
[PATCH] Force "hg clone" to always create a new directory
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[PATCH] Force "hg clone" to always create a new directory
From: Bryan O'Sullivan <bos@serpentine.com>
I just screwed myself by typing "hg clone foo" without specifying a
destination directory, and after I was done mopping up the mess,
concluded that this is a dangerous mode of operation that has no
practical value.
I've thus modified the clone command so that it always creates a
destination directory. If none is specified, the destination is taken
as the basename of the source.
hg clone foo
-> error, because foo already exists
hg clone http://www.selenic.com/hg
-> new repo, named hg
hg clone ../bar
-> new repo, named bar
manifest hash: f21ed8f805a60c1326d99220772e1574b0870d6c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCwxsIywK+sNU5EO8RAgooAKC3IL6vKyADb9s2qqqi4GMw2Z7asACbBtE/
TvPgwGtIiB2GC+N+V7r1VpI=
=uTcK
-----END PGP SIGNATURE-----
author | mpm@selenic.com |
---|---|
date | Wed, 29 Jun 2005 14:04:56 -0800 |
parents | 12b4b5612fe4 |
children | c5b8ed036433 eda4c32c167a |
rev | line source |
---|---|
368 | 1 General: |
2 - Better documentation | |
3 - More regression tests | |
4 - More specific try/except. | |
5 - less code duplication, more code in the right places | |
6 - python 2.2 support | |
7 - better import support | |
8 - export to git | |
520 | 9 - Add standard files: ChangeLog? What else? |
389 | 10 - Code cleanup: apply http://python.org/peps/pep-0008.html |
368 | 11 |
12 Core: | |
379 | 13 - difflib creating/removing files (fixed except dates: should be epoch) |
14 - directory foo.d or foo.i with existing file foo (use some quoting?) | |
15 - get various options from hgrc (e.g. history always -v, tip always -q) | |
447 | 16 - better push support (hack exists) |
483 | 17 - hg over ssh:// and https:// |
368 | 18 - commit mailinglist/trigger/hooks |
493
30752b14f759
Make show_changeset show added/deleted files only in debug mode.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
490
diff
changeset
|
19 - make showing removed files (in history etc.) faster. |
368 | 20 |
21 Commands: | |
520 | 22 - hg diff Makefile should avoid walking the tree |
23 - hg add <directory> should work | |
368 | 24 - hg status <filename>: file rev, changeset rev, changed, added, |
25 deleted, sha-1 | |
26 - select to pull a subset of the heads | |
27 - commands.py: number of args too much magic (e.g. in patch()) | |
28 - automatic pull fallback to old-http:// | |
29 - hg init|pull http://example.com doesn't say that no repo was found | |
30 - hg annotate -u and hgweb annotate with long $EMAIL | |
379 | 31 - hg pull default in a subdir doesn't work, if it is a relative path |
32 - optionally only show merges (two parents or parent != changeset-1, etc.) | |
368 | 33 |
34 Web: | |
379 | 35 - show tags in hgweb |
368 | 36 - show parent changeset number in hgweb |
379 | 37 - optionally only show merges (two parents or parent != changeset-1, etc.) |
368 | 38 - one hgweb with many repos (another script) |
39 - hgweb tip link too verbose | |
379 | 40 - hgweb: deliver static files (e.g. favicon, stylesheets) |
368 | 41 - hgweb personalization: timezone (display/change), display of |
42 features | |
43 - hg export 240 shows -tkmerge (good), hgweb does not (bad). | |
379 | 44 - some web servers think hgweb.cgi.[di] is a CGI script with old-http:// |
45 (use quoting (see foo.d in Core) or document server configurations?) | |
46 - link children in hgweb | |
483 | 47 - search field searching in descriptions, file names, what else? |