=== slank is now known as slank_away | ||
=== yofel_ is now known as yofel | ||
LeoNerd | Easiest way (in a shell script) to obtain the branch path for a lightweight checkout? | 13:52 |
---|---|---|
fullermd | Probably something under 'config' to spit it out? | 13:57 |
mgz | config doesn't seem to know, but info has what I guess you want, just not in a simple form | 13:58 |
LeoNerd | Yah; I know I could use bzr info | sed -n s/...../p | 13:59 |
LeoNerd | but that's a bit icky | 13:59 |
mgz | not seeing a nicer way unfortunately | 14:01 |
mgz | well, you could poke internals | 14:01 |
mgz | cat .bzr/branch/location should be reasonably safe | 14:01 |
LeoNerd | Oh, that looks good enough | 14:03 |
LeoNerd | It's just a script wrapper of mine.. I just want to check if it is "TRUNK" for sanity purposes, and bail out if not. So that sohuld be fine | 14:03 |
LeoNerd | grep /TRUNK `bzr root`/.bzr/branch/location >/dev/null || .... | 14:04 |
=== slank_away is now known as slank | ||
=== slank is now known as slank_away | ||
=== slank_away is now known as slank |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!