Mercurial > hg
comparison mercurial/hgweb.py @ 980:5197fb9d65d5
Merge with MPM
author | Josef "Jeff" Sipek <jeffpc@optonline.net> |
---|---|
date | Wed, 17 Aug 2005 22:59:47 -0500 |
parents | 87d40e085e08 6b735e0ddd81 |
children | 4f81068ed8cd |
comparison
equal
deleted
inserted
replaced
979:87d40e085e08 | 980:5197fb9d65d5 |
---|---|
556 continue | 556 continue |
557 | 557 |
558 yield {"parity": parity, | 558 yield {"parity": parity, |
559 "path": os.path.join(path, f), | 559 "path": os.path.join(path, f), |
560 "manifest": mnode, | 560 "manifest": mnode, |
561 "basename": f[:-1]} | 561 "basename": f[:-1]} |
562 parity = 1 - parity | 562 parity = 1 - parity |
563 | 563 |
564 yield self.t("manifest", | 564 yield self.t("manifest", |
565 manifest = mnode, | 565 manifest = mnode, |
566 rev = rev, | 566 rev = rev, |
736 u = ui() | 736 u = ui() |
737 repo = repository(u, path) | 737 repo = repository(u, path) |
738 if not address: | 738 if not address: |
739 address = u.config("web", "address", "") | 739 address = u.config("web", "address", "") |
740 if not port: | 740 if not port: |
741 print port | |
742 port = int(u.config("web", "port", 8000)) | 741 port = int(u.config("web", "port", 8000)) |
743 if not use_ipv6: | 742 if not use_ipv6: |
744 use_ipv6 = u.configbool("web", "ipv6") | 743 use_ipv6 = u.configbool("web", "ipv6") |
745 | 744 |
746 accesslog = openlog(accesslog or u.config("web", "accesslog", "-"), | 745 accesslog = openlog(accesslog or u.config("web", "accesslog", "-"), |