diff options
| author | Chong Yidong | 2011-01-28 22:12:32 -0500 |
|---|---|---|
| committer | Chong Yidong | 2011-01-28 22:12:32 -0500 |
| commit | 659114fdba7d5ea14541cdc713c7f9745eb93c46 (patch) | |
| tree | 32cbb5f428dc239902df39d7869377b85e2338fb /etc | |
| parent | bc68bd3998b317499fb5df713470f78fbdf3a78d (diff) | |
| download | emacs-659114fdba7d5ea14541cdc713c7f9745eb93c46.tar.gz emacs-659114fdba7d5ea14541cdc713c7f9745eb93c46.zip | |
Rudimentary support for vc-pull and vc-merge in Git and Mercurial.
* lisp/vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
the other way around.
* lisp/vc/vc-git.el (vc-git-branches, vc-git-pull)
(vc-git-merge-branch): New functions.
(vc-git-history): New var.
* lisp/vc/vc-hg.el (vc-hg-history): New var.
(vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
(vc-hg-merge-branch): New function.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 14 |
1 files changed, 7 insertions, 7 deletions
| @@ -589,20 +589,20 @@ on a D-Bus without simultaneously registering a property or a method. | |||
| 589 | ** VC and related modes | 589 | ** VC and related modes |
| 590 | 590 | ||
| 591 | *** Support for pulling on distributed version control systems. | 591 | *** Support for pulling on distributed version control systems. |
| 592 | The vc-update command now runs a "pull" operation, if it is supported. | 592 | The vc-pull command runs a "pull" operation, if it is supported. |
| 593 | This updates the current branch from upstream. A prefix argument | 593 | This updates the current branch from upstream. A prefix argument |
| 594 | means to prompt the user for command specifics, e.g. a pull location. | 594 | means to prompt the user for specifics, e.g. a pull location. |
| 595 | 595 | ||
| 596 | **** vc-pull is an alias for vc-update. | 596 | **** vc-update is now an alias for vc-update. |
| 597 | 597 | ||
| 598 | **** Currently supported by Bzr. | 598 | **** Currently supported by Bzr, Git, and Mercurial. |
| 599 | 599 | ||
| 600 | *** Support for merging on distributed version control systems. | 600 | *** Support for merging on distributed version control systems. |
| 601 | The vc-merge command now runs a "merge" operation, if it is supported. | 601 | The vc-merge command now runs a "merge" operation, if it is supported. |
| 602 | This merges another branch into the current one. A prefix argument | 602 | This merges another branch into the current one. This command prompts |
| 603 | means to prompt the user for command specifics, e.g. a merge location. | 603 | the user for specifics, e.g. a merge source. |
| 604 | 604 | ||
| 605 | **** Currently supported by Bzr. | 605 | **** Currently supported by Bzr, Git, and Mercurial. |
| 606 | 606 | ||
| 607 | ** Miscellaneous | 607 | ** Miscellaneous |
| 608 | 608 | ||