Skip to content

Commit

Permalink
Fixing the UI reload to ensure that updates to the [bb] username are …
Browse files Browse the repository at this point in the history
…taken

before it tries to create the repository.

--HG--
branch : yt
  • Loading branch information
matthewturk committed Mar 21, 2011
1 parent 6d406e1 commit d72378a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions yt/utilities/command_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,9 @@ def do_bootstrap_dev(self, subcmd, opts):
print
loki = raw_input("Press enter to go on, Ctrl-C to exit.")
cedit.config.setoption(uu, hgrc_path, "bb.username=%s" % bbusername)
# We now reload the UI's config file so that it catches the [bb]
# section changes.
uu.readconfig(hgrc_path[0])
# Now the only thing remaining to do is to set up the pasteboard
# repository.
# This is, unfortunately, the most difficult.
Expand Down

0 comments on commit d72378a

Please sign in to comment.