/srv/irclogs.ubuntu.com/2010/02/07/#bzr.txt

RyNy_thanks, ok I reverted fine, but same problem. Added drupal and then tried a commit and it freezes.00:05
PengHit Ctrl+C. What's the traceback, and what does .bzr.log contain?00:07
RyNy_here's the log00:10
RyNy_The logs 50 lines. Should I paste it?00:11
RyNy_Ok, here it is. The directory I'm trying to commit is called "Pressflow:00:15
RyNy_"Pressflow"00:15
RyNy_Sun 2010-02-07 00:04:10 +000000:15
RyNy_0.078  bzr arguments: [u'commit', u'-m', u'Pressflow added, initial commit']00:15
RyNy_0.121  looking for plugins in /root/.bazaar/plugins00:15
RyNy_0.227  looking for plugins in /usr/lib/python2.6/dist-packages/bzrlib/plugins00:15
RyNy_0.293  encoding stdout as sys.stdout encoding 'UTF-8'00:15
RyNy_0.432  opening working tree '/'00:15
RyNy_0.452  preparing to commit00:15
RyNy_[32516] 2010-02-07 00:04:11.319 INFO: Committing to: /00:15
RyNy_0.481  Selecting files for commit with filter None00:15
RyNy_[32516] 2010-02-07 00:04:11.393 INFO: added var00:15
RyNy_214.781  Traceback (most recent call last):00:15
RyNy_  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 842, in exception_to_return_code00:15
RyNy_    return the_callable(*args, **kwargs)00:15
RyNy_  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1037, in run_bzr00:15
RyNy_    ret = run(*run_argv)00:15
RyNy_  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 654, in run_argv_aliases00:15
RyNy_    return self.run(**all_cmd_args)00:15
RyNy_  File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 3058, in run00:15
RyNy_    exclude=safe_relpath_files(tree, exclude))00:15
RyNy_  File "/usr/lib/python2.6/dist-packages/bzrlib/decorators.py", line 192, in write_locked00:15
RyNy_    result = unbound(self, *args, **kwargs)00:15
RyNy_  File "/usr/lib/python2.6/dist-packages/bzrlib/workingtree_4.py", line 197, in commit00:15
RyNy_    result = WorkingTree3.commit(self, message, revprops, *args, **kwargs)00:15
RyNy_  File "/usr/lib/python2.6/dist-packages/bzrlib/decorators.py", line 192, in write_locked00:15
RyNy_    result = unbound(self, *args, **kwargs)00:15
RyNy_  File "/usr/lib/python2.6/dist-packages/bzrlib/mutabletree.py", line 229, in commit00:16
RyNy_    *args, **kwargs)00:16
RyNy_  File "/usr/lib/python2.6/dist-packages/bzrlib/commit.py", line 360, in commit00:16
RyNy_    self._update_builder_with_changes()00:16
RyNy_  File "/usr/lib/python2.6/dist-packages/bzrlib/commit.py", line 633, in _update_builder_with_changes00:16
RyNy_    self.work_tree, self.basis_revid, iter_changes):00:16
RyNy_  File "/usr/lib/python2.6/dist-packages/bzrlib/repository.py", line 637, in record_iter_changes00:16
RyNy_    for change in iter_changes:00:16
RyNy_  File "/usr/lib/python2.6/dist-packages/bzrlib/commit.py", line 654, in _filter_iter_changes00:16
RyNy_    for change in iter_changes:00:16
RyNy_  File "_dirstate_helpers_pyx.pyx", line 1410, in bzrlib._dirstate_helpers_pyx.ProcessEntryC.__next__00:16
RyNy_  File "_dirstate_helpers_pyx.pyx", line 1683, in bzrlib._dirstate_helpers_pyx.ProcessEntryC._iter_next00:16
RyNy_  File "_dirstate_helpers_pyx.pyx", line 1782, in bzrlib._dirstate_helpers_pyx.ProcessEntryC._loop_one_block00:16
RyNy_  File "_dirstate_helpers_pyx.pyx", line 1107, in bzrlib._dirstate_helpers_pyx.ProcessEntryC._process_entry00:16
Stavroshello00:21
Stavrosis there a way to export my current working tree as an archive?00:21
Stavrossort of like bzr export, but for uncommitted changes00:22
Kamping_KaiserRyNy_: please don't paste like that in the channel00:22
RyNy_sorry, what's the best way to share a log file??00:22
StavrosRyNy_: dpaste.com00:22
RyNy_Stavros: thanks, will use this from now on00:23
Stavrosany idea how i can export uncommitted changes?00:24
gerard_Stavros: how about "bzr diff"?00:28
gerard_Stavros: or did you only add files?00:28
Stavrosgerard_: i did add some files as well, yes00:28
Stavrosi'd like to transfer everything so i can continue working on a different machine00:28
gerard_Stavros: you should push to a (private) branch then00:29
Stavrosi'd need to commit for that, and i don't want to commit unfinished work00:29
gerard_Stavros: how often do you commit?00:29
gerard_I usually commit twice every hour00:29
Stavrosas often as i'm done working on a feature00:29
Stavrosthis one is a large one00:30
Stavrosusually it's not a problem00:30
gerard_ok00:30
gerard_how about you commit and then uncommit when you resume working?00:30
Stavrosdoesn't that preserve my commit somewhere?00:31
Stavrosi always see uncommit mention something about a tip00:31
gerard_yeah, you can "undo" an uncommit00:31
gerard_the head is saved (bzr heads --all will show it)00:32
Stavroshmm, can i remove it?00:32
gerard_why would you?00:32
gerard_it will not be pushed anyway00:32
Stavrosoh00:32
Stavrosthat's fine then, thanks00:32
Stavrosso it's safe to store private info there?00:32
Stavrossay, if i accidentally include a password in a file00:32
Stavrosis it safe to uncommit or do i need to scrap the repo?00:33
gerard_hmm00:33
gerard_I think that uncommit and then pack and then removing the obsolete packs will also clean it up00:34
gerard_I'm not too sure though00:34
Stavroshmm, i'll try that and see, thanks00:35
RyNy_Peng: Ok, I basically started over, deleted the .bzr directory and am able to commit fine now. Weird00:36
RyNy_General question: is it ok to add a whole LAMP server under version control. At this point I'm not collaborating with anyone but want to use VC to checkpoint good known states of the LAMP install.00:40
RyNy_Or would it be better to break up my add commands to individual directories?00:41
gerard_RyNy_: it's all just textfiles right?00:47
gerard_you can add them all in one go00:47
gerard_it's not that useful to have a commit with only half of the files needed to run the thing00:47
RyNy_gerard_: yes, all text files for now.00:48
RyNy_I plan on running Drupal so there will be images sometime soon.00:48
gerard_I think it's best to just put the configuration under version control00:50
RyNy_I could use the .bzrignore file to ignore the images directory of Drupal00:51
gerard_yeah it depends on if you want to be able to restore them....00:56
RyNy_gerard_: thanks. so, I tried to add the whole server and got this error: http://dpaste.com/155621/00:57
RyNy_I was having problems all day trying to add the same directory var/www/pressflow.00:58
gerard_what?00:58
gerard_that looks weird00:59
gerard_adding dev/.udev/db/\x2fblock\x2fram000:59
gerard_you sure you are not adding /dev ?00:59
RyNy_I tried to add the server and then it crashed.00:59
RyNy_I was at / and issued the command bzr add01:00
gerard_hmm, that's not what you want01:00
gerard_I guess you'd just want to put /etc and /var/www under version control01:00
gerard_ /dev contains the special files01:01
gerard_ /dev/mem is a virtual file that points to your ram01:01
gerard_quite hard to version control that one....01:01
gerard_and there is lots more there01:01
RyNy_I can't find that directory. Where's dev/01:05
PengRyNy_: Did you keep a copy of the old data? It would be nice if someone could debug it.01:05
RyNy_Peng_: Yes01:06
RyNy_Ok, I found dev it's at root. I will try to include that in the ignore file and see what happens01:09
RyNy_Peng_: If you want the log let me know. Happy to post it somewhere.01:09
PengAdding your entire computer seems like a very bad idea.01:14
PengAside from all the special stuff like /dev and /proc, who cares about /usr/lib?01:14
fullermdVesta?   8-}01:15
RyNy_thx01:20
RyNy_Sorry for the basic question, but I take it that /etc  gets customized a lot?01:23
PengSure, versioning /etc is a good idea. Check out etckeeper.01:24
=== gerard_ is now known as gerard_away
quotemstrOh my god.01:40
quotemstr'times' for bzr check: 3664m48.353s 1118m2.436s01:40
Kamping_Kaisero_001:41
quotemstrThat's on Emacs.01:42
Kamping_Kaiserwow01:46
lifelessquotemstr: check is not tuned as much as [say] commit :)05:01
PengAlso it has SETI@home embedded. ;-)05:06
Kamping_Kaiserhehehe05:06
lifelessPeng: something for everyone05:15
johnjosephbachirhow do i update a checkout to a particular version? (if that's possible). 'updated' does not have an -r options....05:24
Kamping_Kaiserpull -r or merge -r?05:25
johnjosephbachirokay05:26
johnjosephbachirthat will work for a checkout?05:26
johnjosephbachir(i know, i should test it... i'm kind of in a jam right now is the thing)05:26
PengBTW, update recently gained a -r argument.05:27
Peng(It's in 2.1.0rc1; dunno about 2.0.)05:27
johnjosephbachiryay05:27
Kamping_Kaiseroh, cool.05:28
Kamping_Kaiserbzr help update still doesn't list it (in 2.1.0rc2)05:29
PengEhh. It does for me.05:29
PengMaybe it's only in bzr.dev?05:29
Peng(I mean, I'm on bzr.dev. I don't know exactly when it was added, but I thought it was maybe 6 weeks ago.)05:29
spiv2.1.0rc2 has update -r for me.05:37
Kamping_Kaiserah, i have 2.0.3. i'm mis-reading bzr-uilddebs error messag :s05:40
johnjosephbachirlet's say i'm at revision 100, and foo.txt was removed in revision 90. i want to restore foo.txt. what's the best way to do this?05:56
johnjosephbachiri tried merge -r90..89 foo.txt, but bzr doesn't like that it doesn't see foo.txt in 10005:57
johnjosephbachirnevermind, found a stackoverflow thread addressing this. (if anyone wants to see it, let me know)05:59
Kamping_Kaiserjohnjosephbachir: should include it here for the logs :)06:00
johnjosephbachirhttp://stackoverflow.com/questions/1626507/bzr-restoring-a-deleted-file-after-some-commits-with-bazaar06:00
spivjohnjosephbachir: bzr revert -r 90 foo.txt, IIRC06:04
johnjosephbachiryep, worked like a charm06:04
gerard_hi10:53
hichamhow can i checkout a certain revision of a bzr branch ?13:11
mzzhicham: many things, including "branch", can take -r <revisionspecifier>13:17
hichammzz : thanks a lot !13:18
mzznp13:19
=== gerard_ is now known as gerard_away
napsterI made a mistake :)15:03
napster$ bzr push lp15:04
napsterCreated new branch.15:04
napsterWhat I meant to do is that bzr push lp:panther15:04
fullermdWell, don't do that   ;p15:07
napsterfullermd, But I'm drunk!!! ;)15:07
napsterfullermd, Can I rollback??15:08
fullermdDon't drink and DVCS.15:08
napsterfullermd, pls leave it, I need it to be rolled back15:08
fullermdThere's nothing to "rollback" per se.  You just created a branch you presumably don't need, so just rm it.15:08
napsterfullermd, How?15:09
fullermdrm -rf?15:09
fullermdIt's just a filesystem directory.15:09
napsterfullermd, Thnaks a lot. I'm continue drinking....  thanks a lot dude... ;)15:10
Lo-lan-doHi all15:39
=== gerard_ is now known as gerard_away
PengUsing "rm -rf" while drinking can't be a good idea...16:34
fullermdAh, that's what backups are for...16:36
=== radoe_ is now known as radoe
Lo-lan-doIs there a way to manually remove revisions from a repo?16:42
Lo-lan-doI think my repo has gotten corrupted somehow, probably due to someone doing non-standard stuff with bzr-svn and merges16:44
mwhudsonmorning18:40
=== Toksyury1l is now known as Toksyuryel
The_UserHeyho!20:46
The_UserIs it possible to create something like a bzr-session (an interactive mode/you can execute multiple commands)?20:57
bob2bzr shell21:04
The_Userbob2: ah, my bzrtools installation was broken, thanks21:07
=== gerard_away is now known as gerard_
=== quotemstr_ is now known as quotemstr

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