Commit Graph

2661 Commits

Author SHA1 Message Date
Vadim Gelfer
0778999161 hooks: add url to changegroup, incoming, prechangegroup, pretxnchangegroup hooks
all repository classes now have url() method that returns url of repo.
2006-07-25 13:50:32 -07:00
Benoit Boissinot
e8d38e08fe self.root == '/': prefix length computation out of the loop
- put the computation out of the loop
- change the variable to a more meaningful name
2006-07-25 21:22:56 +02:00
Gil
82203eb025 Fix dirstate.walkhelper removing first char of nd when self.root == '/'. 2006-07-25 11:09:17 -07:00
Thomas Arendsen Hein
bba6fe938e Include all tests/*.py files in the MANIFEST so tests won't fail on tarballs.
This fixes failing test-http-proxy and test-webraw.
2006-07-25 17:54:58 +02:00
FUJIWARA Katsunori
feed3e771b Emacs: apply "expand-filename" on "default-directory".
"default-directory" may has home directory("~") relative path in some
runtime environment(or emacs revision ?), so expand-filename is
required.
2006-07-22 23:35:16 +09:00
FUJIWARA Katsunori
73f0f2e2ee Emacs: apply kill-local-variable instead of make-local-variable to FORGET 2006-07-22 23:30:19 +09:00
Frank Kingswood
b817bf8839 hgweb: Configurable zebra stripes
With this change, you can set
    [web]
    stripes=3
to get stripes every three lines (a-la fanfold paper), instead of every
line on source and directory listings. The default behaviour is stripes=1
which generates output similar to current, and you can also turn stripes
off by setting it to 0.
2006-07-24 23:06:05 -07:00
Benoit Boissinot
a41d80a376 prune unwanted files from MANIFEST (backups, object files, etc) 2006-07-25 01:23:31 +02:00
Brendan Cully
7a70e197ba Add qtip and qbase to mq qlookup. 2006-07-20 11:52:28 -07:00
Brendan Cully
e73d6c3e4d Mq: modify repo.lookup to resolve applied patches too. 2006-07-20 11:52:28 -07:00
Vadim Gelfer
1803b2474b merge with crew. 2006-07-24 14:36:32 -07:00
Matt Mackall
3c5fa1c65c Added signature for changeset 4920307d90127e0e067420457dc7bad2fb652817 2006-07-24 17:17:07 -05:00
Matt Mackall
c4372e95be Merge with crew 2006-07-24 17:06:39 -05:00
Alexis S. L. Carvalho
d936b8286b make convert-repo deal with git symbolic refs.
Problem noticed by Sébastien Pierre
2006-07-24 13:47:29 -07:00
Matt Mackall
987ff111ff Merge with crew 2006-07-24 11:35:04 -05:00
Vadim Gelfer
4f0a39d96b util.getuser: better comments 2006-07-24 09:22:47 -07:00
Vadim Gelfer
b5dfaa64f0 util.getuser: raise exception if win32api not available. 2006-07-24 09:19:25 -07:00
Vadim Gelfer
30704ec67b merge with crew. 2006-07-24 09:12:16 -07:00
Vadim Gelfer
07de9b45fd fix windows username problem. 2006-07-24 09:11:26 -07:00
Matt Mackall
fb4ff555cd Merge with crew 2006-07-23 14:00:29 -05:00
Brendan Cully
dd9b6af1b4 Make hgweb threads into daemon threads.
This fixes the problem that an interrupted hg serve will not terminate
until the next request has been received.
2006-07-20 21:58:25 -07:00
Brendan Cully
86244f1a64 Preserve multibyte UTF-8 characters when obfuscating.
This version uses the unicode 'replace' option, so non-UTF-8
encodings will still be mangled. Luckily, there aren't any
of those.
2006-07-21 02:36:17 +02:00
Benoit Boissinot
c4ef6c5403 spelling fix 2006-07-21 02:31:59 +02:00
Benoit Boissinot
f463f77610 change 'hg tag' to tag the parent rev instead of tip 2006-07-21 01:40:07 +02:00
Vadim Gelfer
9738466350 status: add -c (clean) and -A (all files) options
also add new localrepo.status what is more uniform than localrepo.changes.
localrepo.changes is deprecated and will go away soon.
2006-07-20 16:21:07 -07:00
Matt Mackall
65a15abb1d merge with tonfa-experimental 2006-07-19 14:22:08 -05:00
Vadim Gelfer
c70a1efd28 fix tests. 2006-07-19 07:56:40 -07:00
Brendan Cully
3bc42b81ce Add an option '-C|--copies' to hg status to show the source of copied files.
Copied files are displayed in the form:
A newname
  oldname
2006-07-19 07:52:16 -07:00
Vadim Gelfer
3d71c97061 merge 2006-07-19 07:51:56 -07:00
Christian Ebert
4ba2e89317 fix logfile option for HGFinishCommit 2006-07-19 13:37:05 +02:00
Mathieu Clabaut ext:(%22)
a37037fb18 HGcommand.vim : the status was read for the wrong file as we changed the current directory before 2006-07-19 09:28:59 +02:00
Mathieu Clabaut ext:(%22)
ecaae60190 Do not try to get revision and branch information for file which are not tracked 2006-07-18 18:35:47 +02:00
Mathieu Clabaut ext:(%22)
7717e8ded9 Correction of commit with a log message in a file 2006-07-18 18:35:47 +02:00
Mathieu Clabaut ext:(%22)
b092ebbad7 Test if file is below an HG root before doing anything 2006-07-18 18:35:47 +02:00
Benoit Boissinot
8ef31fb9ac codingstyle: use spaces instead of tabs 2006-07-18 00:32:18 +02:00
Matt Mackall
a283a1d83d Merge with tonfa 2006-07-17 11:30:33 -05:00
Vadim Gelfer
1cb83d1991 fix problem with uncompressed clone and python 2.3. 2006-07-17 07:43:15 -07:00
Benoit Boissinot
d60f8ed3b2 fix 'hg cat' broken by 4a8ffef5657f 2006-07-17 02:09:35 +02:00
Benoit Boissinot
8f3a7d352c allow specifying a file to hg parents, change the syntax to use -r/--rev 2006-07-17 02:00:49 +02:00
Benoit Boissinot
bb31345eb8 fix filectxt to really work
- use a context instead of changelog.read
- changectx._id is not necessary
2006-07-17 01:59:06 +02:00
Benoit Boissinot
490a3977ae correct the handling of linkrev with nullid 2006-07-17 01:58:59 +02:00
Benoit Boissinot
c0ceee40fc lookup should allow -1 to represent nullid (if passed an int as arg) 2006-07-17 01:58:50 +02:00
Vadim Gelfer
a7bbf7d88f rename stream hgrc option to compressed. 2006-07-16 10:04:16 -07:00
Benoit Boissinot
788bbdea72 context.py: various fixes
- use a normal changeset instead of a context
- define _filenode instead of _node to match the else clause
2006-07-16 16:40:24 +02:00
Benoit Boissinot
fe197b5f4f context.py: filectxs was using a keyword arg, add it to filectx 2006-07-16 16:39:03 +02:00
Benoit Boissinot
d9acb13f0c context.py: self.repo is not defined, change to self._repo 2006-07-16 16:39:02 +02:00
Benoit Boissinot
e1bf7a348f walkchangerevs: fix race in fast path
do not yield revs if the corresponding cl entry does not exists,
it avoids a race in the fastpath (where we walk in the filelog) with
an ongoing transaction.
2006-07-16 11:32:37 +02:00
Vadim Gelfer
f7b6882acb clone: disable stream support on server side by default.
enable in hgrc like this:
[server]
stream=True
2006-07-15 16:06:35 -07:00
Vadim Gelfer
cd5c830faf clone: change name of --stream to --uncompressed.
mpm asked for this.
2006-07-15 16:06:05 -07:00
Benoit Boissinot
65aa1b6db0 mention the bts for bug reporting in traceback message 2006-07-16 00:02:05 +02:00