##// END OF EJS Templates
pull: do not prompt "hg update" if update.requiredest is set...
Jun Wu -
r33982:8abbae93 default
parent child Browse files
Show More
@@ -3849,7 +3849,7 b' def postincoming(ui, repo, modheads, opt'
3849 "merge)\n"))
3849 "merge)\n"))
3850 else:
3850 else:
3851 ui.status(_("(run 'hg heads' to see heads)\n"))
3851 ui.status(_("(run 'hg heads' to see heads)\n"))
3852 else:
3852 elif not ui.configbool('commands', 'update.requiredest'):
3853 ui.status(_("(run 'hg update' to get a working copy)\n"))
3853 ui.status(_("(run 'hg update' to get a working copy)\n"))
3854
3854
3855 @command('^pull',
3855 @command('^pull',
@@ -33,3 +33,16 b' Check update.requiredest interaction wit'
33 abort: update destination required by configuration
33 abort: update destination required by configuration
34 (use hg pull followed by hg update DEST)
34 (use hg pull followed by hg update DEST)
35 [255]
35 [255]
36
37 $ cd ..
38
39 update.requiredest should silent the "hg update" text after pull
40 $ hg init repo1
41 $ cd repo1
42 $ hg pull ../repo
43 pulling from ../repo
44 requesting all changes
45 adding changesets
46 adding manifests
47 adding file changes
48 added 2 changesets with 2 changes to 1 files
General Comments 0
You need to be logged in to leave comments. Login now