Show More
@@ -14,6 +14,7 b' import util, extensions, hook, error' | |||
|
14 | 14 | import match as matchmod |
|
15 | 15 | import merge as mergemod |
|
16 | 16 | import tags as tagsmod |
|
17 | import url as urlmod | |
|
17 | 18 | from lock import release |
|
18 | 19 | import weakref, stat, errno, os, time, inspect |
|
19 | 20 | propertycache = util.propertycache |
@@ -2017,7 +2018,7 b' class localrepository(repo.repository):' | |||
|
2017 | 2018 | cl.delayupdate() |
|
2018 | 2019 | oldheads = len(cl.heads()) |
|
2019 | 2020 | |
|
2020 | tr = self.transaction(",".join([srctype, url])) | |
|
2021 | tr = self.transaction(",".join([srctype, urlmod.hidepassword(url)])) | |
|
2021 | 2022 | try: |
|
2022 | 2023 | trp = weakref.proxy(tr) |
|
2023 | 2024 | # pull off the changeset group |
@@ -11,13 +11,14 b' hg serve -p $HGPORT -d --pid-file=hg.pid' | |||
|
11 | 11 | cat hg.pid >> $DAEMON_PIDS |
|
12 | 12 | cd .. |
|
13 | 13 | |
|
14 | hg clone --pull http://localhost:$HGPORT/ copy | sed -e "s,:$HGPORT/,:\$HGPORT/," | |
|
14 | hg clone --pull http://foo:bar@localhost:$HGPORT/ copy | sed -e "s,:$HGPORT/,:\$HGPORT/," | |
|
15 | 15 | cd copy |
|
16 | 16 | hg verify |
|
17 | 17 | hg co |
|
18 | 18 | cat foo |
|
19 | 19 | hg manifest --debug |
|
20 | 20 | hg pull | sed -e "s,:$HGPORT/,:\$HGPORT/," |
|
21 | hg rollback --dry-run --verbose | sed -e "s,:$HGPORT/,:\$HGPORT/," | |
|
21 | 22 | |
|
22 | 23 | echo % issue 622 |
|
23 | 24 | cd .. |
@@ -19,9 +19,10 b' 1 files, 1 changesets, 1 total revisions' | |||
|
19 | 19 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
20 | 20 | foo |
|
21 | 21 | 2ed2a3912a0b24502043eae84ee4b279c18b90dd 644 foo |
|
22 | pulling from http://localhost:$HGPORT/ | |
|
22 | pulling from http://foo:***@localhost:$HGPORT/ | |
|
23 | 23 | searching for changes |
|
24 | 24 | no changes found |
|
25 | rolling back pull (http://foo:***@localhost:$HGPORT/) to revision 0 | |
|
25 | 26 | % issue 622 |
|
26 | 27 | pulling from ../test |
|
27 | 28 | requesting all changes |
General Comments 0
You need to be logged in to leave comments.
Login now