3916 elif not ui.configbool('commands', 'update.requiredest'): |
3916 elif not ui.configbool('commands', 'update.requiredest'): |
3917 ui.status(_("(run 'hg update' to get a working copy)\n")) |
3917 ui.status(_("(run 'hg update' to get a working copy)\n")) |
3918 |
3918 |
3919 @command('^pull', |
3919 @command('^pull', |
3920 [('u', 'update', None, |
3920 [('u', 'update', None, |
3921 _('update to new branch head if changesets were pulled')), |
3921 _('update to new branch head if new descendants were pulled')), |
3922 ('f', 'force', None, _('run even when remote repository is unrelated')), |
3922 ('f', 'force', None, _('run even when remote repository is unrelated')), |
3923 ('r', 'rev', [], _('a remote changeset intended to be added'), _('REV')), |
3923 ('r', 'rev', [], _('a remote changeset intended to be added'), _('REV')), |
3924 ('B', 'bookmark', [], _("bookmark to pull"), _('BOOKMARK')), |
3924 ('B', 'bookmark', [], _("bookmark to pull"), _('BOOKMARK')), |
3925 ('b', 'branch', [], _('a specific branch you would like to pull'), |
3925 ('b', 'branch', [], _('a specific branch you would like to pull'), |
3926 _('BRANCH')), |
3926 _('BRANCH')), |