dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #26237
Re: Pushing removed revisions
-
To:
"Garth N. Wells" <gnw20@xxxxxxxxx>
-
From:
Anders Logg <logg@xxxxxxxxx>
-
Date:
Thu, 6 Dec 2012 10:41:04 +0100
-
Cc:
DOLFIN Mailing List <dolfin@xxxxxxxxxxxxxxxxxxx>
-
In-reply-to:
<CAA4C66OxBuooYZtHs47sj-U_dEMOrt7eM=phKve3=+sEb02u7A@mail.gmail.com>
-
User-agent:
Mutt/1.5.21 (2010-09-15)
On Thu, Dec 06, 2012 at 09:26:09AM +0000, Garth N. Wells wrote:
> On Thu, Dec 6, 2012 at 9:20 AM, Anders Logg <logg@xxxxxxxxx> wrote:
> > bzr branch lp:dolfin clean
> > cd clean
> > bzr merge ../<path-to-complexly-merged-branch>
> > bzr commit
> > bzr push lp:dolfin
> >
>
> The 'clean' branch is not necessarily clean, which then requires
> branching lp:dolfin, which is huge.
How can it not be clean? If you already have a 'clean' branch, then
rm -r clean
bzr branch lp:dolfin clean # takes ~5 seconds if you've use init-repo
I don't see how this branch can be anything else than clean.
--
Anders
>
> Garth
>
> >
> >
> > On Wed, Dec 05, 2012 at 09:10:47PM +0000, Garth N. Wells wrote:
> >> So how do I push code after a complex series of merges? Now it just hangs.
> >>
> >> Garth
> >>
> >> On Wed, Dec 5, 2012 at 11:20 AM, Anders Logg <logg@xxxxxxxxx> wrote:
> >> > It looks like the way to set that flag has changed on Launchpad. The
> >> > old method using sftp does not seem to work anymore.
> >> >
> >> > Instead, I tried the following:
> >> >
> >> > bzr config -d bzr+ssh://bazaar.launchpad.net/+branch/dolfin/ append_revisions_only=true
> >> >
> >> > This command runs fine and makes it easy to turn the flag on/off
> >> > without needing to do all the work with sftp and uploading config
> >> > files.
> >> >
> >> > However, what happens when one tries to push with that flag set is
> >> > that one does not get an error message but instead a timeout and the
> >> > following error after 5 mins:
> >> >
> >> > Connection Timeout: disconnecting client after 300.0 seconds
> >> > ConnectionReset reading response for 'Branch.set_last_revision_info',
> >> > retrying
> >> >
> >> >
> >> >
> >> > On Wed, Dec 05, 2012 at 01:35:47AM +0100, Anders Logg wrote:
> >> >> On Tue, Dec 04, 2012 at 10:06:58PM +0000, Garth N. Wells wrote:
> >> >> > On Tue, Dec 4, 2012 at 2:39 PM, Anders Logg <logg@xxxxxxxxx> wrote:
> >> >> > > Garth, could you live with setting the append_revisions_only flag?
> >> >> > > At least for now.
> >> >> > >
> >> >> >
> >> >> > Yes, if someone can tell me how to get a clean branch without pulling
> >> >> > 100MB over the Internet.
> >> >>
> >> >> This should work:
> >> >>
> >> >> Do this once:
> >> >>
> >> >> bzr init-repo dolfin
> >> >>
> >> >> Then enter that directory and branch at least one of your branches
> >> >> into that directory. This works automatically if you use that
> >> >> directory for normal development work (in branches/subdirectories).
> >> >>
> >> >> Then all you need to do is
> >> >>
> >> >> bzr branch lp:dolfin clean
> >> >>
> >> >> It takes 5.5 seconds for me on a moderately slow connection (5Mbit).
> >> >>
Follow ups
References
-
Re: Pushing removed revisions
From: Anders Logg, 2012-12-03
-
Re: Pushing removed revisions
From: Martin Sandve Alnæs, 2012-12-03
-
Re: Pushing removed revisions
From: Anders Logg, 2012-12-03
-
Re: Pushing removed revisions
From: Anders Logg, 2012-12-04
-
Re: Pushing removed revisions
From: Garth N. Wells, 2012-12-04
-
Re: Pushing removed revisions
From: Anders Logg, 2012-12-05
-
Re: Pushing removed revisions
From: Anders Logg, 2012-12-05
-
Re: Pushing removed revisions
From: Garth N. Wells, 2012-12-05
-
Re: Pushing removed revisions
From: Anders Logg, 2012-12-06
-
Re: Pushing removed revisions
From: Garth N. Wells, 2012-12-06