windows support

Brett Calcott brett at coombs.anu.edu.au
Tue Dec 20 03:01:12 GMT 2005


John Arbash Meinel wrote:
> Brett Calcott wrote:
>> 1. Is there an official windows branch that is kept up to date with
>> the mainline? A have downloaded the 0.6.2 version, and it works
>> fine -- but I see there is lots of new stuff going on I'd like to
>> get my hands on.
> 
> 
> I have my win32 branch, but it is really designed to be integrated
> into the mainline. In fact, my latest integration branch has my win32
> changes integrated, which means when Martin gets back (in a couple
> weeks), it has a high probability of ending up in mainline.
> 
> For now, the branches are at: 
> http://bzr.arbash-meinel.com/branches/bzr/win32/ and 
> http://bzr.arbash-meinel.com/branches/bzr/jam-integration/
> 

That is great. I'll branch off your stuff for now. I prefer to work with
this rather than an executable.

> 
>> 2. Is there a faster way to get a branch that using http. Branching
>>  takes an awful long time (> 1hr). I'm in Australia, if that makes
>> a difference.
> 
> 
> All you have to do is copy the directory. So rsync/scp/etc works. If
> you are trying to get bzr itself, you can download mainline with:
> 
> rsync -av bazaar-ng.org::bazaar-ng/bzr/bzr.dev .

Excellent. That is much faster. I used cwRsync, rather than the whole 
cygwin dist. This seems to work fine.

> 
>> 3. How do I simply check out an older version of a file(s) from a
>> local branch?
> 
> 
> What are you actually wanting to do? Are you wanting to see what has 
> changed, back up to an old version, what?
> 
Mainly, as you suspected, wanting to diff the previous versions.

> 'bzr cat -r -1 filename' will output the old version a file to
> stdout. You can redirect this to a file if you want.
> 
> 'bzr revert -r -1 filename' will revert just filename to the previous
>  revision. (You can always do 'bzr revert -r 125' to revert the
> entire tree to revision 125 if you want).

I didn't see those. The command line is not currently fully 
self-documenting then. bzr help doesn't reveal 'cat' or 'revert'. (At 
least in 0.6.2). I'll have a play with these.

> 
> 'bzr diff -r -1 filename' will show you just the changes for the
> given file.
> 
> There is a vimdiff plugin originally written by Martin, which I
> extended with the --revision option 
> http://bzr.arbash-meinel.com/plugins/vimdiff/

I use vim. So that is good for me. It might need some tuning for 
windows. I'll have a look.

> 
> 
> I hope this helps

It helps a lot. Thanks for your quick response. I hope I can contribute 
something to the project.







More information about the bazaar mailing list