/srv/irclogs.ubuntu.com/2009/05/23/#bzr.txt

KilrooI really need to try to map out how I think we ought to use bzr where I work00:14
Kilroobecause otherwise I think we'll probably continue with our rather slow and problematic adoption of svn.00:14
amanicawhat other tecnologies are you using?01:02
KhaZHello!  Perhaps a silly question, but I'm used to Perforce, and not sure the equivalent in bzr.  Say I have a file and I want to make a 'copy' of it in bzr while retaining it's history.  This is typically called an 'integrate' for Perforce - is there something similar in bzr?03:54
BasicJust 1 file?04:02
KhaZYeah04:04
KhaZBasically I just want to 'copy' the file.04:04
KhaZThere's a bzr mv, but not a cp, or at least nothing I can see that's equiv.04:05
Basiclike this?http://bazaar-vcs.org/BzrFileCopies04:07
Basiclooks like open issue, confirm issue, but unresolved04:08
Basichttps://bugs.launchpad.net/bzr/+bug/26909504:08
ubottuUbuntu bug 269095 in bzr "bzr missing "cp" command for forking files /w history" [Undecided,Confirmed]04:08
KhaZAh.04:08
BasicPerforce is specifically mentioned in the bug report04:08
KhaZThat's too bad.04:08
KhaZI'll go read, but do you know if there's a bzr analogue?04:09
Basicno, the bug report, is really a feature request04:09
Basicfunctionally is "confirmed" missing, there was a blueprint created to address the missing functionality, but no one has picked it up to write the code04:09
KhaZRight.04:10
KhaZOK, well thanks for sending me the link.04:10
BasicI'm just community memory, maybe one of the core dev will answer/followup with more details04:12
KhaZHeh; well either way it sounds like I can't accomplishw hat I need to do.  I guess revision history isn't super essential for this stuff yet.04:17
Basicper repo it is04:18
BasicTheProgramIs there a way to cancel a PQM submit?05:01
=== BasicTheProgram is now known as BasicOSX
=== BasicOSX changed the topic of #bzr to: Bazaar version control system | 1.15final released 22 May, 2009 | http://bazaar-vcs.org | http://irclogs.ubuntu.com/ | http://planet.bazaar-vcs.org/
BasicOSXAnyone have privs to uncommit releases branches?06:05
BasicOSXdetails on ML about my mistake :-(06:05
=== davidstrauss_ is now known as davidstrauss
Peng_Hey, there are tags in bzr.dev now? Cool!10:12
Peng_Whoever said that bzr is pulling too much data is right. The main .pack for bzr.dev is ~125 MB, but my repo is ~185.11:19
Peng_I do have some extra revisions in my repo, but not 60 MB of them!11:19
verterokLarstiQ: apologize the delay, yes I saw the "unofficial" release12:03
verterokLarstiQ: thanks for pointing it out12:03
lifelessPeng_: well, clearly you do12:41
lifelessPeng_: perhaps you have stale packs?12:41
Peng_lifeless: Hmm, that's possible.12:44
Peng_lifeless: None.12:45
Peng_Hmm, I only have 167 MB of packs. Why did I think it was 185?12:47
=== Mez is now known as Lethargy
=== Lethargy is now known as Mez
=== Mez is now known as Lethargy
=== Lethargy is now known as Mez
LarstiQverterok: no problem13:09
zand3rDoes anyone know if the new storage format for bzr 2 will support a "bzr cp" command per bug #269095 - I'm deciding which vcs to opt for an whilst I don't see lack of a cp command as a show stopper I can see it being useful in the future.13:40
ubottuLaunchpad bug 269095 in bzr "bzr missing "cp" command for forking files /w history" [Undecided,Confirmed] https://launchpad.net/bugs/26909513:41
zand3rHow long after an official release does the Windows installer generally appear? The current download for Windows is 1.14.114:11
Peng_Ehh, it's supposed to be a few days, but I dunno what it usually is.14:13
zand3rThanks - I'll look out for it14:15
lifelesszand3r: it won't; that may be a 3.0 goal.18:12
=== Kissaki^0ff is now known as Kissaki
lifelessรก18:20
zand3rlifeless: Thanks... I'm surprised that the cp command doesn't carry more weight but at the same time I can't immediately see why I'd need one so understand why it may not be a priority.18:56
=== KX is now known as NotKXHonest
=== NotKXHonest is now known as KX
zand3rActually mercurial's description of their copy command does show a good use case - its different to what bzr bug #269095 describes.19:00
ubottuLaunchpad bug 269095 in bzr "bzr missing "cp" command for forking files /w history" [Undecided,Confirmed] https://launchpad.net/bugs/26909519:01
Peng_zand3r: It isn't necessarily just about weight; there would have to be design changes for copies to be possible, and it's not that high of a priority.19:05
zand3rPeng_:  Sorry for my waffling... I'm currently deciding which vcs we should standardise on and for some reason felt the need to spew odd thoughts into the irc channel19:06
Peng_Asking a few questions is nothin' to be sorry about.19:10
=== vxnick is now known as vxnick_away
pygihi19:28
Peng_Hello.19:31
=== vxnick_away is now known as vxnick
lifelesszand3r: we have some designs in mind, its a matter of making them good, not just takckin it on :)19:49
spirov92I20:21
spirov92I20:21
spirov92I'm new to bzr. is it good for working in teams?20:21
spirov92btw sorry, the quote key is close to return20:21
spirov92btw, anyone here?20:23
nadavoidHe20:24
nadavoidHi20:24
nadavoidI'm pretty new to bzr too.20:24
nadavoidI've used it on a couple of projects, just solo though.20:24
spirov92but I'll be working with other people20:25
nadavoidI think it is supposed to be very good for teams.  One reason is that you can start off solo, then merge your changes with others if you want.20:25
spirov92but is it easy to synchronize your work, checkout, etc?20:26
nadavoidI believe so. As I understand it, that's the main point of using bzr.20:26
nadavoidI'll pass you some links I've found that should address working with teams.20:27
spirov92nadavoid: I'm listening20:28
nadavoidhttp://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html20:29
nadavoidThere's a section on "Sharing with peers" and one on "Team collaboration, central style"20:29
nadavoidand on on "Team collaboration, distributed style"20:29
nadavoidhttps://launchpad.net/ is an option for centrally hosting a bzr project20:30
nadavoidhttp://bazaar-vcs.org/BazaarForWebDevs - more about just publishing to a server20:31
spirov92for web devs? just what I need20:31
nadavoidwhat sort of web dev are you doing? (I'm a drupal dev)20:32
spirov92php, using the Kohana framework20:32
spirov92the guys on #kohana told me about bzr in the first place20:33
nadavoidcool20:33
nadavoidI don't think I've heard of kohana before.20:33
nadavoidit looks like the main commands you'd need to use are "bzr pull" or "bzr merge"20:33
nadavoid... for staying synced.20:33
nadavoidhttp://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html#team-collaboration-distributed-style <-- looks like a good chapter20:34
nadavoidThis is the only other site I have bookmarked: http://ubuntuswitch.wordpress.com/2009/03/26/version-control-bazaar-for-web-developers/20:35
nadavoidoh, and this one too... http://925html.com/techniques/using-bazaar-on-a-mac/20:35
spirov92mac is too expensive, I use Linux20:35
nadavoidthere still might possibly be some info you can use in that article.20:36
nadavoidThis would definitely be my starting point - http://bazaar-vcs.org/Documentation20:37
nadavoidHope that's all helpful to you. I've been really enjoying using bzr, and I hope to have an opportunity to try the merging/collaboration features soon.  But now, I must go outdoors and clean up the yard some.  See ya!20:40
spirov92nadavoid: thanks a lot, I'll check these out20:41
=== nadavoid is now known as nadavoid-outside
Kissakihow do I change bzrs timezone? It does commit with UTC+2 instead of +122:01
Peng_Kissaki: It uses the system timezone.22:03
Kissakimh, but it does not...22:05
Kissakiit does say 23:00 +020022:06
Kissakiand on my pc it's 23:00 +122:06
Peng_Are you sure? Do other shell applications agree? Other Python applications?22:07
LarstiQdate vs date -u22:08
LarstiQKissaki: ^^22:08
KissakiI'm on xp22:08
LarstiQd'oh!22:09
KissakiI'm using bzr on a svn server22:09
Kissaki(even worse)22:09
Kissaki:P22:09
Kissakiand on trac, it says +020022:09
LarstiQnote that trac may do some timezone manipulation too22:09
Kissakiyeah22:10
LarstiQKissaki: is there no `date` utility for windows?22:10
Kissakiwell, trac does list bazaars attributes on the commit log page22:10
LarstiQKissaki: it is of course always possible that something might be wrong, but so far all the reported cases have been thinking their timezone was not what it was22:10
Kissakiwhich is not there on svn22:10
Kissakiand that one does have +020022:11
LarstiQKissaki: ok22:11
LarstiQKissaki: I'm not sure which timestamp gets used with svn, the server or the local one.22:11
LarstiQKissaki: could you check the time on the svn server?22:11
Kissakisure, that would be the linux server then?22:12
Kissakithat has +1, my local time22:13
LarstiQhmm22:13
LarstiQKissaki: which timezone are you in?22:13
LarstiQKissaki: it's 23:13 here, and I'm in +222:13
KissakiGermany, UTC+122:13
LarstiQKissaki: CEST to be specific.22:13
LarstiQKissaki: no, you're in UTC+2 then :)22:14
LarstiQKissaki: daylight saving time22:14
Kissakihaha, well22:14
Kissakithen I'm in +2, the server is on +222:14
LarstiQwhich is why I always recommend comparing `date` and `date -u` output22:14
spirov92yeah, dst is crazy22:14
LarstiQspirov92: it's fun!22:15
Kissakihmm22:15
LarstiQspirov92: but not as fun as leap seconds22:15
Kissakimaybe one of those other svn users is wrong then?...22:15
LarstiQKissaki: so, bzr shows +2, and you are in +2. Is there something else out of sync?22:15
Kissakiwell, I wondered when I did commit, and 35 mins later someone else did commit. In the end it was 25 mins earlier (and still is) in my bzr log22:16
Kissakiwhen I saw the bzr attribute in the commit on trac, I thought that was the problem. But it seems I did mix that up22:17
LarstiQKissaki: even when you account for different timezones?22:17
Kissakihm?22:18
LarstiQKissaki: ie, looking at bzr.dev timestamps, you see  Sat 2009-05-23 07:40:24 +0100 and Fri 2009-05-22 23:55:52 -050022:18
Kissakidon't get what you mean or what you're trying to tell me22:19
LarstiQKissaki: so, when you commit, it records the time that the local computer tells it to22:19
LarstiQKissaki: if all the computers are configured, someone in Australia can commit, and then 5 minutes later someone in the US could commit22:20
LarstiQKissaki: if you look at just the hours, it would seem like time was reversed22:20
LarstiQKissaki: but if you normalize to UTC, you would see that in actual fact time is still going forward22:20
LarstiQKissaki: of course, this is assuming that the computers are telling the correct time22:21
Kissakion trac it's all correct22:21
LarstiQKissaki: you could set your clock to 1900 and do a commit, then that would show as a timestamp22:21
LarstiQ(assuming the datetime structure handles that)22:21
Kissakiwell, it's just a problem with qlog it seems22:21
Kissakias trac on the svn server does display everything correctly22:21
LarstiQKissaki: do you have a screenshot?22:22
LarstiQor two, to compare trac and qlog22:22
Kissakisure, one mom22:22
KissakiLarstiQ: http://www.abload.de/img/tmpoesu.png22:24
Kissakias you can see, bzr also does have different rev numbers from the svn server22:24
LarstiQKissaki: svn revs not matching bzr revs will almost always be the case22:27
Kissakik22:27
LarstiQKissaki: if you look at `bzr log` (with bzr-svn enabled) you'll see it reports the original svn rev22:27
LarstiQKissaki: I'm a bit annoyed that both trac and qlog are not showing the utc offset.22:29
LarstiQKissaki: could you check your trac preferences for the timezone setting?22:29
LarstiQKissaki: if trac and qlog think they are working with the same offset, there is indeed a bug somewhere22:30
LarstiQKissaki: if trac's offset is 1 higher than qlog's, there might still be a bug in that one of the two (probably qlog) is displaying time with the wrong timezone22:31
LarstiQbut if they are genuinely showing time in different timezones, they are doing the correct thing22:32
Kissakihm, can't find a timezone setting in trac.ini22:32
LarstiQeven if I dislike not having the timezone information provided22:32
Kissakion trac, on a changeset it does provide the commit time, as well as the bzr attribute: bzr:timestamp: 2009-05-23 00:27:59.858999968 +020022:33
LarstiQhmm, there doesn't seem to be a timezone setting in 0.1022:33
Kissakiwhile they're the same apart from the "+0200"22:33
Kissakiif it would help, I could give you the rep url22:34
Kissakiand/or trac22:34
LarstiQhmm, but it isn't 00:27 yet in 2009-05-23 +02022:34
Kissakithat was yesterday22:34
Kissakior not22:34
Kissakitoday 00:2722:34
Kissakiso 23 hours before now22:35
LarstiQoh, *slap*22:35
Kissaki*= ago22:35
LarstiQyes, you're right22:35
Kissaki:)22:35
LarstiQit is my bedtime, you see ;)22:35
LarstiQKissaki: trac 0.11 (at my work at least), has a trac.cgi/preferences22:35
LarstiQwich has a 'Date & Time' tab22:36
LarstiQthe only thing you can change is the timezone22:36
Kissakiusing it with wsgi on apache22:36
LarstiQKissaki: point is, /preferences as a sibling of /wiki22:36
Kissakican't find a preferences, just conf/trac.ini22:36
LarstiQKissaki: in the web view that is22:37
Kissakiwiki is in attachements here..22:37
Kissakiah ok22:37
KissakiExample: The current time is 21:37:30Z (UTC).22:37
KissakiIn the Default time zone , this would be displayed as 23:37:30+0200.22:37
Kissakibut that's a user setting anyway, right?22:37
LarstiQit is, but it should have it's affect on the timeline22:38
LarstiQKissaki: so it's timezone is correctly set to +0200, good22:38
LarstiQKissaki: can you compare `bzr log` and `bzr qlog` time?22:39
=== krisfree is now known as krisfremen
Kissakihm does list the last svn commit as 12:51 +0000 on log, and 14:51 in qlog.22:40
Kissakibut 15:51 on trac22:40
KissakioO22:41
LarstiQsounds to me like there is a computer configured 1 hour off22:41
Kissakihm22:42
Kissakithat would be 2 then22:42
Kissakias mine is correctly +222:42
LarstiQcould be22:42
Kissaki^^22:43
Kissakidon't think so...22:43
LarstiQI'm out of ideas as to how debug it further atm22:43
Kissakiit seems to loose 1hour when pulling svn commits from svn server22:43
LarstiQjelmer: ^^22:44
LarstiQKissaki: might be a bzr-svn bug filed about that already22:44
Kissakiyou filed about that already?22:44
LarstiQno22:44
Kissakibut strange that it doesn't lose 2 hours then...22:44
Kissakimaybe it's the summer-savings time22:45
LarstiQKissaki: true, not all systems switch that automatically22:45
Kissakiwell, I'll continue to travel through time then :) (well, it's not even me but them...)22:45
Kissakitrac does have it correctly after all22:45
Kissakithanks anyway22:45
LarstiQKissaki: if you do find bzr-svn is at fault, and no one else has filed a bug like it, I think jelmer would be rather interested in how to reproduce this situation22:46
* LarstiQ has to go to bed22:47
Peng_LarstiQ: Good night.22:47
LarstiQKissaki: I'd be interested in hearing how things fare for you. Good luck in any case!22:47
LarstiQPeng_: thanks, you too.22:47
=== Kissaki is now known as Kissaki^0ff

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