Please add pull --preview

Bug #198084 reported by James Westby
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Wishlist
Unassigned

Bug Description

Hi,

Chris Jones (Ng) requested that now there is merge --preview
we also add pull --preview.

I explained that this can be done with diff, but explaining that
took a few steps and had a few caveats. Adding the option
makes it easier to remember, is perhaps more discoverable,
and fits in with merge --preview.

On the other hand, how many commands do we want to have
--preview for?

Thanks,

James

James Westby (james-w)
Changed in bzr:
importance: Undecided → Wishlist
Revision history for this message
John A Meinel (jameinel) wrote :

There was at least a discussion thread that most "preview" style actions like 'diff' and 'missing' would be turned into options on the other commands. So "bzr merge --???" would show you the revisions (aka missing) and you have "bzr merge --preview" instead of using a diff command. (They give slightly different results, because merge --preview actually handles conflicts, etc, diff -rancestor:... only gives you the estimated diff.)

"bzr pull --preview" does seem reasonable. Though does it only give the diff to the WT, does it give a "log" listing?
This is probably better as a feature discussion/blueprint rather than a bug report. Though at least it is tracked somewhere.

Changed in bzr:
status: New → Triaged
Martin Pool (mbp)
Changed in bzr:
status: Triaged → Confirmed
Revision history for this message
Kuno Meyer (kuno-meyer) wrote :

For me, the main advantage of "bzr pull --preview" would be to be informed about the merge conflicts that had to be expected. In that case, "bzr merge --preview" doesn't work since in most of the time it would fail due to "uncommitted local changes".

So, for me, the ideal output of "pull --preview" would be what "bzr st" would display after actually having pulled.

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 198084] Re: Please add pull --preview

Kuno пишет:
> For me, the main advantage of "bzr pull --preview" would be to be
> informed about the merge conflicts that had to be expected. In that
> case, "bzr merge --preview" doesn't work since in most of the time it
> would fail due to "uncommitted local changes".

bzr merge --force --preview

Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.