Closed Bug 928477 Opened 11 years ago Closed 11 years ago

bzexport should default to '.' and not 'tip' for exported revision

Categories

(Developer Services :: Mercurial: bzexport, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gps, Assigned: sfink)

Details

Attachments

(1 file)

bzexport currently defaults to 'tip' when choosing the revision to export. This fails to work with bookmark or branch workflows.

I'm in the process of switching my workflow to branches. My local repo contains a bunch of changesets that never get exported to published repositories. I frequently commit new changes on my bookmarks then pull new changesets from the canonical repos. This means that 'tip' is typically inbound's head. bzexport attempts to export 'tip' and not my active head. I think this is wrong.

I believe bzexport should export '.' by default instead.

Fortunately, you can work around this by running |hg bzexport .|.
Yeah, using 'tip' for just about anything is Wrong.
Attachment #819138 - Flags: review?(emorley)
Assignee: nobody → sphink
Status: NEW → ASSIGNED
Comment on attachment 819138 [details] [diff] [review]
Default to "." instead of "tip"

Review of attachment 819138 [details] [diff] [review]:
-----------------------------------------------------------------

lgtm :-)
Attachment #819138 - Flags: review?(emorley) → review+
This is probably an artifact of me not understanding the difference at the time I wrote bzexport.
I've never actually used bzexport with anything but mq patches, so I'm not entirely clear what it does for other commits.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: Other Applications → Developer Services
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: