# HG changeset patch # User timeless # Date 2016-04-14 15:20:11 # Node ID 9dcc9ed26d335f7869a5e33ceca26134a7edc035 # Parent fc1d75e7a98d0d57b0eb3e3d64d686c2585744fd fetch: use single quotes around command hint Windows command lines use double quotes to quote arguments with spaces. This change is in a series to unify around using single quotes around commands, and double quotes around interior arguments. diff --git a/hgext/fetch.py b/hgext/fetch.py --- a/hgext/fetch.py +++ b/hgext/fetch.py @@ -61,7 +61,7 @@ def fetch(ui, repo, source='default', ** branchnode = None if parent != branchnode: raise error.Abort(_('working directory not at branch tip'), - hint=_('use "hg update" to check out branch tip')) + hint=_("use 'hg update' to check out branch tip")) wlock = lock = None try: diff --git a/tests/test-fetch.t b/tests/test-fetch.t --- a/tests/test-fetch.t +++ b/tests/test-fetch.t @@ -339,7 +339,7 @@ pull in change on different branch than (branches are permanent and global, did you want a bookmark?) $ hg -R n2 fetch -m merge n1 abort: working directory not at branch tip - (use "hg update" to check out branch tip) + (use 'hg update' to check out branch tip) [255] parent should be 0 (fetch did not update or merge anything)