[PATCH] bzr status --versioned

Kent Gibson warthog618 at gmail.com
Tue Feb 27 22:37:14 GMT 2007


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

Hi Aaron,

Perhaps my particular use case will help.
I am using bzr to version /etc.  Files and directories tend to come
and go depending on what packages are installed.  This makes keeping
.bzrignore up to date tedious.
I don't want to use '*' cos when a package is added that I do want to
control I want to be able to add the complete directory, e.g. bzr add
/etc/apache2, and the '*' pattern prevents the add from recursing.

At the moment I'm not merging anything into /etc so conflicts aren't
an issue.
But if there were any, I'd still like to see them.
What I don't care about are files that I have not versioned yet, hence
the --versioned flag.

Nuts, I think the ignore pattern I'm after is './*'.  So the
- --versioned flag is definitely optional.

OTOH versioning /etc/apache2 with bzr and then changing your mind like so

bzr add /etc/apache2
bzr revert /etc/apache2

is a really bad idea, as per bug 87548, cos the revert will toast all
the symlinks therein.
Is there some way to unadd that wont delete symlinks and 'empty'
directories?

Cheers,
Kent.

Aaron Bentley wrote:
> Aaron Bentley has voted +0.
> Status is now: Waiting
> Comment:
> I'm not entirely convinced that this is useful.  If you don't want
> to keep your ignore patterns up-to-date, you can just do "bzr ignore
> '*'". So the remaining use case is when "the ignore patterns I want
> for adds differ from those I want for status", which seems unusual.
>
> Also, conflicts aren't part of the delta output, so should we hide
> them too?
>
> For details, see:
> http://bundlebuggy.aaronbentley.com/request/%3C45DFD96F.1020403%40gmail.com%3E
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF5LKagoxTFTi1P8QRAj31AJ9QORa8u7QZVWh3tlgX/nCfKdbesQCeJdFr
WJBc2AcXAwFCWfAl7FVDLt0=
=qkom
-----END PGP SIGNATURE-----



More information about the bazaar mailing list