[request] log limited to just one filename

John Arbash Meinel john at arbash-meinel.com
Tue Jul 25 01:25:36 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jamie Wilkinson wrote:
> Hey,
> 
> I've found a few times I want to look at the revision history for just one
> file; i.e. I've noticed that a change happened and I want to find out when
> and why.  So, in SVN I'd "svn log filename" and that would restrict the log
> to just that file.
> 
> Is there a process already in bzr for limiting the revision set down to the
> filename?
> 
> If not, consider this a feature request.
> 
> (Other places/tools that might help save the same problem: bzrk listing
> changed files in the lower panel for each revision)
> 
> 

You already can. It isn't 100% perfect. (Such that if there is a merge
that modifies a file, it also prints out all the other versions that
were merged in at the same time)

Does 'bzr log filename' not work for you?

There is also a bug that 'bzr log no-such-file' logs everything, rather
than nothing.

And the code could be optimized more by looking at the knit index for
that file, but I've tested that it works here.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFExWT/JdeBCYSNAAMRAv4NAKDKH5sia8qkKDzP+BrQTUV/PkQBUQCfedQG
VzR+hJ/HrFAZWUhQwEcXZzY=
=Cogd
-----END PGP SIGNATURE-----




More information about the bazaar mailing list