Edit Branch Name
Gregory Szorc
gregory.szorc at gmail.com
Wed Oct 14 16:51:28 UTC 2015
On Wed, Oct 14, 2015 at 9:28 AM, Gregory Szorc <gregory.szorc at gmail.com>
wrote:
>
>
> > On Oct 13, 2015, at 13:25, Tom Udale <tom at ionoptix.com> wrote:
> >
> > Hi Matt,
> >
> >
> >>>>> We are looking for the easiest way to edit a branch name.
> >>>>>
> >>>>> We have a shared server with two repos on it, A and B. B is a clone
> of
> >>>>> A and has a large amount (~200 changesets) of development for a
> specific
> >>>>> project on it. We have decided that we do not like having two repos
> and
> >>>>> would rather have simply a new branch on repo A with the work that
> is on
> >>>>> repo B.
> >>>>>
> >>>>> Thus the job is to rename the branch on repo B that contains the
> project
> >>>>> changesets (it is currently on default) and then push to A. We will
> >>>>> then destroy repo B and all clones.
> >>>>>
> >>>>> We are trying rebase, which worked fine in our tests, but when
> applied
> >>>>> to the entire branch in B is taking _forever_ (hours per changeset).
> >>>>> There must be something about the changesets that is exposing worst
> case
> >>>>> algorithm behavior.
> >>>>
> >>>> It'd be interesting to get a --profile from this.
> >>>
> >>> I expect we can run this. What is the exact command line you are
> >>> looking for? Just simply add the --profile switch to our existing
> >>> command line?
> >>
> >> Yep. And then interrupt after 10 minutes or so.
> >
> > And by interrupt you mean ctrl-c at which point it will dump something?
> Or does --profile enable some sneaky interactive mode (in the spirit of
> helping myself, I tried hg help --profile and see that it indeed profiles
> the help command and dumps some timing at the end, but it does not actually
> tell me about --profile).
>
> See also https://www.mercurial-scm.org/wiki/DebuggingPerformance
https://bz.mercurial-scm.org/show_bug.cgi?id=4630 might also be relevant.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20151014/28c699e6/attachment-0002.html>
More information about the Mercurial
mailing list