/srv/irclogs.ubuntu.com/2011/08/21/#bzr.txt

=== wgrant_ is now known as wgrant
idnaris it possible to use bzr missing on two remote branches? or does the one have to be local?02:15
=== Peng__ is now known as Peng
=== Quintasan_ is now known as Quintasan
AuroraBorealisso, is bazaar supposed to freak out if it can't create a symlink on windows and just ...not branch a repo?10:02
AuroraBorealiscause that seems like a very stupid reason to just abort and not be able to branch something10:06
wilxWhat handling would you propose?10:07
AuroraBorealiswindows has ntfs junctions10:09
AuroraBorealisor just...not check out symlinks or something10:09
AuroraBorealiscause now i can't work on this code on windows.10:09
spivAuroraBorealis: yeah, it's not so good10:12
spivAuroraBorealis: patches would be welcome, there's a bug about it.  I think just omitting the symlinks as you say would be a big improvement over the status quo10:13
spivAuroraBorealis: (so long as doing commits in the wt wouldn't accidentally delete them, etc, which is what makes it a little bit fiddly)10:13
AuroraBorealiswhile i know python, i know nothing of the bazaar code base, and it bothers me that this bug is nearing 5 years old :<10:13
AuroraBorealisbut i'm not opposed to giving it a shot i guess...10:14
spivAuroraBorealis: a good start might be suggesting a specific strategy on the mailing list and seeing if anyone can offer advice (or reasons why it might be a bad/difficult idea)10:16
AuroraBorealishttp://stackoverflow.com/questions/1967973/mercurial-symlinks-on-windows10:17
spivIt's https://bugs.launchpad.net/bzr/+bug/81689, in case you didn't know that already10:17
ubot5Ubuntu bug 81689 in Bazaar "Branches with symlinks can't be checked out on Windows" [High,Confirmed]10:17
AuroraBorealisaccording to that, it says that hg just puts them as a file with the path10:17
AuroraBorealiswhich is another solution..10:17
spivYeah, that sounds reasonable to me.10:17
AuroraBorealisbut then won't it get commited and overwrite the sym link?10:17
spivIdeally perhaps we'd allow plugins to control how they are represented, but getting it working at all is more important.10:18
AuroraBorealisi feel bazaar should just store the fact that it is a symlink or a ntfs junction, then convert it to wahtever the OS implements.10:18
AuroraBorealisno idea if thats possible or not.10:18
spivIn the most naïve implementation, yes10:18
AuroraBorealiswhy is that?10:19
spivBut I think it'd be possible to arrange for the code to do something like "if platform == 'win32' and dirstate_kind == 'symlink' and disk_kind == 'file': pretend disk kind is symlink"10:20
AuroraBorealisyeah10:20
spivWhy?  Because 'bzr status' etc looks at what's on disk (with os.stat, basically) and reports 'file', 'directory', 'symlink'.10:21
AuroraBorealissubversion does this: Details: the Subversion repository has no internal concept of a symlink. It stores a "versioned symlink" as an ordinary file with an 'svn:special' property attached. The svn client (on unix) sees the property and translates the file into a symlink in the working copy. Win32 has no symlinks, so a win32 client won't do any such translation: the object appears as a normal file.10:21
AuroraBorealisand git doesn't have to since it has to be compiled against cygwin which supports symlinks10:22
spivWell, you can use bzr under cygwin too.10:23
AuroraBorealisyes, but thats silly since its python10:23
AuroraBorealisas far as i know, git can't be compiled natively for windows, but i might be wrong.10:23
AuroraBorealisor at least i haven't seen it10:24
AuroraBorealisand according to that bug report, they say that "adding os.symlink() and os.path.islink() support for windows" as been added, but only for python versions 3.2 and greater10:25
nigelbI've used git in windows. I don't think I had cygwin.10:26
AuroraBorealissince i keep seeing that you need admin privs to actually create a symlink (windows y u so bad??) unless you do something convulted, i feel that it should just create a file with the path inside of it for nw10:28
AuroraBorealisso people can actually check out the repository...10:28
spivAuroraBorealis: yeah, I think waiting for bzr to support python 3.2 would be an unfortunate answer10:34
AuroraBorealiswell the python bug page says versions effected: 2.710:34
spivAlthough it's nice to know it's a problem that will solve itself *eventually*, but still.10:34
AuroraBorealisi have no idea how to tell where the fixed code actually got commited10:34
AuroraBorealisversus what version10:34
spivAnd if it needs admin privs it's still a pretty bad workaround10:35
AuroraBorealiswell the thing is it doesn't need admin privs, its just by DEFAULT only the administrator has that priv10:35
spiv(and suggests that the underlying semantics might not map so well to symlinks?)10:35
spivAnyway, time for a late dinner for me.10:35
AuroraBorealisi guess i'll post to the mailing list i guess10:36
AuroraBorealisi sent a message to the mailing list, although i don't know exactly how they work so i have no idea if i actually sent it or not o.o11:15
mgzIt arrived.11:25
AuroraBorealisno idea why i haven't gotten the email though o.o11:26
mgzthanks for sending that. it's one of several really frustrating platform specific bugs that haven't been addressed.11:29
AuroraBorealisyou are welcome.11:30
AuroraBorealisit seems all of the version control systems have problems with this11:31
AuroraBorealiscause the REAL problem is windows =P11:31
R33D3M33Rhello, i just installed qbzr and bzr-explorer and was hoping to receive a GUI management tool for bzr, but unfortunately, there are no binaries in bin/sbin ... so how does this work then?13:19
R33D3M33Rhttp://people.canonical.com/~jriddell/blog/qbzr.png13:21
jelmerR33D3M33R: bzr explorer is a subcommand of bzr13:22
jelmerR33D3M33R: running "bzr explorer" should work13:22
jelmerbrb13:22
R33D3M33Roh...13:22
R33D3M33Rthanks13:22
R33D3M33Rit works :)13:23
=== Testy is now known as JasonO
=== JasonO is now known as Guest78948
ls3hello... just wonder if there is a command to show the location that will be pushed to18:38
fullermdbzr info18:39
ls3if i just created a branch from trunk, will it push to the branch be default?18:43
ls3just trying to confirm before i mess something up :)\18:43
fullermdNo, push is unset by default; it won't push anywhere.18:43
fullermdYou could use "bzr push :parent" to push to the parent location (and set is as the default for future pushes, if there isn't already one)18:44
ls3ahh ok18:51
ls3fullermd, thanks..much appreciated18:52
ls3time to go experiment on a test repo..18:52
* maxb crosses fingers and hopes for some successful bzr builds in the daily ppa now19:05
maxbargh, except bzr-svn is now a new failure because it declares a requirement on bzr << 2.519:07
Davieymaxb: it's a genuine depends.. jelmer is aware.19:10
maxbah19:31
maxbkeeping the bzr daily ppa green sometimes feels a bit sisyphean19:31
jelmerhah, there is my dictionary word of the day19:32
jelmerah, sisyfusarbeid..19:33
* maxb wonders where the gtk.gdk module has gone in oneiric19:39
* jelmer wonders what the status of the gtk3 port is19:41
maxbThe current bzr-builddeb failures are because URL-encoded filenames are leaking through to local fs access19:46
jelmerI figured it was something like that, but I didn't have time to look into it yet.19:54
jelmerhey Noldorin19:59
maxbThere really is a huge variance in the speed at which different PPA buildds can get through the bzr testsuite20:19
* maxb is waiting on some slow ones :-(20:19
jelmerhmm, the next bzr-svn release is going to fix 50 of the almost 100 open bugs20:54
jelmerI guess I should've done a release earlier...20:54
dOxxxhowdy...21:13
dOxxxvila: I'm having trouble with bzrlib config's automatic quoting21:14
mgzhe's likely not around till tomorrow, you'll probably have more luck on the mailing list21:16
dOxxxthanks21:22
=== Quintasan_ is now known as Quintasan
maxbArgh22:05
maxbalioth anonymous http is presenting an older version of users/jelmer/dulwich/unstable than alioth ssh22:05
lifelesswin22:06
lifelesshow much older ?22:07
jelmermaxb: perhaps something that broken during the server migration?22:08
maxblikely22:08
maxbIn fact, I dimly recall something about personal branches not being fixed22:08
maxbAlso, they seem to have done something silly with their URLs, as http://bzr.debian.org/bzr/users/jelmer/dulwich/unstable/ is permanently redirected to http+urllib://anonscm.debian.org/bzr/bzr/users/jelmer/dulwich/unstable/22:10
maxbOr just for fun, http://anonscm.debian.org/bzr/bzr/bzr/bzr/bzr/bzr/bzr/bzr/bzr/bzr/bzr/bzr/bzr/bzr/bzr/bzr/bzr/bzr/bzr/bzr/bzr/bzr/bzr/bzr/users/jelmer/dulwich/unstable/ gets you the same branch :-)22:10
lifelessmaxb: ><22:12
jelmermaxb: Yeah, there was some talk about that on debian-devel@22:14
=== yofel_ is now known as yofel

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