This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 125704

Summary: Support Fetch extension
Product: versioncontrol Reporter: Jesse Glick <jglick>
Component: MercurialAssignee: issues@versioncontrol <issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: 65122_d28df42b4215 - adding Fetch support

Description Jesse Glick 2008-01-21 19:41:22 UTC
See issue #125013 for background. Since pulling and merging is a basic part of Hg workflow, needed whenever you want to
push and someone else has gotten there first, I suggest supporting the Fetch extension or its equivalent, either as

1. A menu item Fetch running 'hg fetch'. Safest, since the logic is a tested part of Hg itself.

2. A dialog displayed after pulling creates new local heads prompting you to merge. (If no new heads created, update.)
Comment 1 Padraig Obriain 2008-01-30 11:08:14 UTC
*** Issue 120595 has been marked as a duplicate of this issue. ***
Comment 2 John Rice 2008-01-31 07:54:11 UTC
changeset:   65122:d28df42b4215
user:        jrice@netbeans.org
date:        Wed Jan 30 22:50:40 2008 +0000
summary:     #125704: Support for Fetch Extension - also prompts user and modifies ~/.hgrc if fecth extension not there

Comment 3 John Rice 2008-01-31 07:54:54 UTC
Created attachment 55813 [details]
65122_d28df42b4215 - adding Fetch support
Comment 4 John Rice 2008-01-31 08:05:16 UTC
Committed
Comment 5 John Rice 2008-01-31 08:33:41 UTC
Note in Head: rev 65269 cset d28df42b4215
Comment 6 Jesse Glick 2008-01-31 13:23:49 UTC
You don't actually need to modify ~/.hgrc, you just need to use

  hg --config extensions.fetch= fetch