annotate .gitignore @ 1102:93cb29247d61

exchange: check for remote refs to determine if we're cloning The exchange.pull wrapper function was checking whether any paths were configured yet as a proxy to determine whether we're doing the initial clone or a subsequent pull. Core hg @ bdae51a83dfb (released in 4.5) now sets the 'default' path on the ui object before exchange.pull is called, but we can check a bit more directly by checking if we have any remote refs yet. This is the same as a check we do in GitHandler.fetch_pack().
author Kevin Bullock <kbullock@ringworld.org>
date Sat, 03 Feb 2018 14:54:35 -0600
parents 505d7cdca198
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
58
c79741c05fd8 add .gitignore too. fun.
Chris Wanstrath <chris@ozmm.org>
parents:
diff changeset
1 *.pyc
253
505d7cdca198 package with distutils
Kevin Bullock <kbullock@ringworld.org>
parents: 58
diff changeset
2 tests/*.err
505d7cdca198 package with distutils
Kevin Bullock <kbullock@ringworld.org>
parents: 58
diff changeset
3 build
505d7cdca198 package with distutils
Kevin Bullock <kbullock@ringworld.org>
parents: 58
diff changeset
4 dist
505d7cdca198 package with distutils
Kevin Bullock <kbullock@ringworld.org>
parents: 58
diff changeset
5 *.egg-info