Kakadu | Hey. I continue writing script for package system and now I want to do this thing | 08:08 |
---|---|---|
Kakadu | Let I'm on revision 5. If I execute `bzr pull` than I will be automatically switched to revision N. Are there any way to rint changed files between this two revisions? | 08:09 |
Kakadu | print* | 08:09 |
Kakadu | N.B. I don't know concrete numbers of revisions. It will be great if magic option for pull exists. | 08:11 |
LarstiQ | Kakadu: -v, so `bzr pull -v` | 08:31 |
Kakadu | LarstiQ: And how should I grab in my script changed files after that? | 08:35 |
LarstiQ | Kakadu: ehm, what is your script trying to do? | 08:36 |
Kakadu | I want to check updates from remote repo and print changed files (if they exists) | 08:37 |
Kakadu | for example `git diff ` have `--name-only` option | 08:37 |
LarstiQ | Kakadu: aha | 08:39 |
LarstiQ | Kakadu: so why not use `bzr status -r old..new` then? | 08:40 |
Kakadu | to use it my script should know these two numbers. Can I easily get them or should I parse `bzr log`? | 08:44 |
LarstiQ | Kakadu: `bzr revno` before and after the pull for example | 08:48 |
Kakadu | LarstiQ: great! | 08:56 |
fullermd | May not be reliable depending on your workflow; may want to grab the revids instead. | 10:32 |
lifeless | should be fine as long as you set the option to prevent mainline revno pivots | 10:46 |
=== thomi_ is now known as thomi | ||
=== thumper is now known as vorpalbunny |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!