MANIFEST.in
author mpm@selenic.com
Wed, 29 Jun 2005 14:04:56 -0800
changeset 523 003df62ae39f
parent 457 12e0fdbc57a0
child 589 4be4d4580467
permissions -rw-r--r--
[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-----
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7
510265b68bbf Add MANIFEST.in to repo
mpm@selenic.com
parents:
diff changeset
     1
include hg
510265b68bbf Add MANIFEST.in to repo
mpm@selenic.com
parents:
diff changeset
     2
recursive-include mercurial *.py
510265b68bbf Add MANIFEST.in to repo
mpm@selenic.com
parents:
diff changeset
     3
include tkmerge
188
f40273b0ad7b Mercurial 0.5
mpm@selenic.com
parents: 7
diff changeset
     4
include hgweb.cgi
f40273b0ad7b Mercurial 0.5
mpm@selenic.com
parents: 7
diff changeset
     5
include hgeditor rewrite-log convert-repo
457
12e0fdbc57a0 Release tweaks
mpm@selenic.com
parents: 448
diff changeset
     6
include tests/README tests/run-tests tests/test-*[a-z] tests/*.out
7
510265b68bbf Add MANIFEST.in to repo
mpm@selenic.com
parents:
diff changeset
     7
include *.txt
218
06bc1ef248a6 hgweb: put map-raw in setup.py and MANIFEST.in
mpm@selenic.com
parents: 188
diff changeset
     8
include templates/map templates/map-*[a-z]
188
f40273b0ad7b Mercurial 0.5
mpm@selenic.com
parents: 7
diff changeset
     9
include templates/*.tmpl
457
12e0fdbc57a0 Release tweaks
mpm@selenic.com
parents: 448
diff changeset
    10
include doc/README doc/*.txt
448
20fc66131bc0 Minor packaging fixups
mpm@selenic.com
parents: 218
diff changeset
    11
include contrib/* contrib/git-vis/*
7
510265b68bbf Add MANIFEST.in to repo
mpm@selenic.com
parents:
diff changeset
    12
include README