Commits

Author Commit Message Labels Comments Date
schueler
Fix regression for test output introduced by change in hg core This fixes a regression introduced by a change of output in the Mercurial core in http://selenic.com/repo/hg-stable/rev/b254f827b7a6. From this change on, messages about committing subrepos are no longer displayed. This change here adapts the tests for projrc to the changed output and makes the test suite pass fully again. The tests were run against release 2.9 of Mercurial.
Angel Ezquerra
Make projrc compatible with mercurial 2.7 (adapt ui.promptchoice call to new API) Mercurial 2.7 changed the ui.promptchoice() API. It now takes 1 or 2 arguments, rather than 3. The extension will still be compatible with hg <= 2.6.
Angel Ezquerra
findpatternmatch: return first matching pattern This makes the function faster (since we exit early) but also makes more sense.
schueler
Fix: Make local path into a glob again Local path sneaked in by mistake, should of course be a glob to run on all machines, not just on mine.
schueler
Exit extension if there is no projrc file If there is no projrc file, we have nothing to do, so exit the extension immediately.
schueler
Fix performance regression introduced in 6bba86506e44 and 90b8be5ad4d49 These changes introduced sorting for config values, but on the other hand decreased performance drastically by repeatedly calling the expensive systemrcpath() function. This is fixed here by calling that function only once and storing the value in a function attribute.
schueler
HGSUP-1001: Fix: adapt to changed config file priority Adapt tests to config file priority which was changed in https://bitbucket.org/lantiq/projrc/commits/18892a05d9f1.
schueler
HGSUP-1001: Fix for changed return value of pull in hg The return value for "hg pull" was 1 for a while. Since http://selenic.com/hg/rev/a3dcc59054ca the return value is 0 again. This change adapts the test to the current, fixed return value.
Angel Ezquerra
Merged in lantiq/projrc (pull request #3)
Angel Ezquerra
Merged in lantiq/projrc (Fix test for remotely deleted projrc)
Angel Ezquerra
Really make extension compatible with mercurial 2.3 The 1c632c6698fd fix was incomplete. hg incoming was broken, and cloning from a local repository would not properly transfer the projrc file.
Angel Ezquerra
Update copyright notice
Angel Ezquerra
Make extension compatible with mercurial 2.3 The hg.clone method does not returna localrepository object anymore, but a localpeer object. Thus, if the localrepo module defines a localpeer class we must get the localrepository object from the peer object by calling its local() method, so that then we can pass it to the original update method.
Angel Ezquerra
Honor the configuration file priority while loading the projrc file settings
Comments 1
Angel Ezquerra
Merged in lantiq/projrc (pull request #1)
Angel Ezquerra
readme: mention that 'never' is the default 'updateonincoming' value
Angel Ezquerra
incoming: prompt user to update projrc file on incoming Up until now the user would only see a message saying that there is an updated projrc file when running hg incoming, but it would need to run hg pull to be able to update the projrc file. This patch changes the default behavior so that the user will be prompted to update the projrc file if the remote and local copies differ. It is also possible to change the default behavior so that you only get…
Angel Ezquerra
Support all mercurial 'boolean' strings when on the 'confirm' setting You can now use 'on', 'yes' or '1' (in addition to 'true' and 'always') and 'off', 'no' or '0' (in addition to 'false' and 'never').
Angel Ezquerra
Fix "incoming" function level comment, and convert it into a docstring The existing comment was copied and pasted from the clone() function comment.
schueler
Fixed test for deleted projrc file If the projrc file is deleted in the source repo, the projrc in the clone is no longer deleted too. Bisection shows that this changed behaviour was introduced in 705cc5b795e8.
schueler
Backed out changeset 466064e4a80e Backed out this changeset for two reasons: - It contained an internal Lantiq Issue number thats of no relevance to the Open Source community. - The repository path in the expected output was hardcoded. A glob is now used here.
schueler
HGSUP-799: Fix test for remotely deleted projrc If the remote projrc is deleted, the projrc in the clone is no longer deleted too. Bisection shows that this changed behaviour was introduced in 705cc5b795e8.
schueler
Fixed more tests
Nikolaus Schueler
Fixed part of the tests Some tests still fail because there are problems with subpath remapping. Subpath remapping should not be tested here, it's not related to basic projrc functionality.
Angel Ezquerra
Add "Security Implications of Using this Extension" section
Angel Ezquerra
Add list of configuration keys to the Configuration section
Angel Ezquerra
Add name of projrc.confirm key to the "Confirmation Settings" section
Angel Ezquerra
Document that the [projrc] section is not transferred by default
Angel Ezquerra
Add "Detecting changes" section to the README
Angel Ezquerra
Update overview to match the overview on the extension wiki
  1. Prev
  2. Next