/srv/irclogs.ubuntu.com/2010/12/30/#bzr.txt

=== frakturfreak_ is now known as frakturfreak
cdbsis bzr broken in Natty?05:57
cdbsokay, got the bug05:58
lifelesshttps is05:58
cdbslifeless: so is there a workaround?06:02
cdbsI tried to branch using the bzr:// protocol06:02
lifelesscdbs: I'm not sure; perhaps running with python2.6 ?06:06
lifelesse..g python2.6 `which bzr` branch bzr://....06:06
thumperlifeless: ping08:30
lifelesshi?08:32
thumperhow do I create a transport from an existing transport?08:32
thumperI want a directory under the existing transport08:32
thumper(which is a shared repo)08:32
thumperso I have repo.user_transport08:32
thumperand I want a directory under that to create a branch in08:32
lifelesst.clone(relpath)08:34
thumperta08:34
xanalogicaI'm looking for a way to move a working tree to a specific revision but cannot find it;   basically I want:    wt.update(revision_id=27)08:35
xanalogicahmm, it looks like it might be clone(wt_rootpath, revision_id='........'), where you basically clone a specific rev *on top of yourself*.  Interesting.08:43
lifelessif you want a specific rev08:50
lifelessrevert() is generally a sufficient answer08:50
xanalogicaI don't see that wt.revert() accepts a rev id or version though?08:53
lifelessxanalogica: wt.revert(old_tree=wt.branch.repository.revision_tree(...))10:12
xanalogicalifeless, thanks I have a working solution now, using revert().11:00
knighthawkI'm trying to do a checkout of a branch from a central repo into a new branch on my local drive. when I type 'bzr checkout sftp://path/to/repos' I get error Not a branch. I'm guessing that has something to do with my local setup. but I'm not sure what.23:05
maxbknighthawk: If you really are giving a path to a repository, then a repository is not a branch23:10
maxbTry 'bzr info URL'23:10
knighthawkits hanging23:19
knighthawkbzr: ERROR: No repository present:23:20
knighthawkthat's when I point it at the branch. when I point it at the repos it hangs.23:21
maxbhrm23:22
maxbCould you give the URLs (un-obfuscated) of the branch and repo, so I have a better idea what's going on here?23:23
maxbAlso, running 'find -ls' in the repository and pastebinning the result would be helpful to understand what you have23:24
knighthawkthe branch is called grws its in a repos call bzr-repos sftp://repos.grdev.com/opt/bzr-repos/grws23:24
maxbOK, can I see 'find /opt/bzr-repos/.bzr -ls' and 'find /opt/bzr-repos/grws/.bzr -ls' ?23:27
knighthawkjust a sec.23:28
knighthawkhttp://fpaste.org/w5To/23:29
maxberm. That doesn't look so good. It's just an empty bzrdir, there's no repository there.23:30
knighthawkhttp://fpaste.org/cjzg/23:31
maxbThat's a branch+tree alright, but it would seem that the repository that is supposed to be present at /opt/bzr-repos/ is missing23:31
knighthawk history | grep 'bzr init-repo'23:32
knighthawk   21  bzr init-repo bzr-repos23:32
maxbOK..... so it was there once, but is very much not there any more23:32
maxbThere should be an /opt/bzr-repos/.bzr/repository/ but there is not23:33
knighthawkokay so is there a way for me to make /opt/bzr-repos a repo again without blowing away the branches inside of it?23:33
maxbIf the repository that was containing the data for the branches is lost, the branches are mostly useless now23:33
knighthawklovely.23:34
knighthawkso I have a branch on my local machine.  will that help me restore anything?23:36
maxbcd /opt/bzr-repos23:37
maxbmv .bzr broken.bzr23:37
maxbbzr init-repo .23:37
AfCand then re-pull the content into those branches23:38
maxbThen, locally, 'bzr push url://to/opt/bzr-repos/some-name-for-branch'23:38
maxbThe branches are primarily a pointer to the tip revision, plus a dictionary of tags23:39
maxbIf, by means of other push/pull operations, you cause the relevant revisions to be present in the recreated repository, the old branches will work again23:39
knighthawkthanks guys I *never* would have figured that out.23:45

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!