[MERGE] line-endings support: part 1 of 2: versioned properties

Nicholas Allen allen at ableton.com
Mon Apr 14 11:58:31 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Alexander Belchenko wrote:
| Nicholas Allen пишет:
|> | E.g. if you have many C-files then you need to set only one 
property section
|> |
|> | bzr prop-set *.c foo bar
|> Shouldn't that be "bzr prop-set foo bar *.c"?
|
| All prop-commands use arguments sequence as
|
| FILENAME_OR_PATTERN PROPNAME [VALUE]
|
| I don't see reasons to reshuffle them.
I may want to give a list of file names to set the properties on and not 
just one file. All bzr commands have the file names at the end so this 
would make sense to me and would be consistent with the other bzr 
commands. Then I can do:

bzr prop-set prop-name prop-value file1 file2 file2 pattern1 pattern2 etc

Also, on Unix the shell normally does pattern expansion so if I gave the 
command:

bzr prop-set *.c prop-name value

the shell would pass many file names to bzr and not "*.c". I think this 
could be an easy mistake to make too. I don't think windows does this. 
So on Unix you would have to remember to quote the pattern.

Cheers,

Nick
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFIAzjWbpmWsXfOU58RArPMAKCy4qfL26CVwtPainV3EIQwKKwagQCgxuuU
kteLpeZOvF0Yy85dqPnyrYM=
=vWLl
-----END PGP SIGNATURE-----




More information about the bazaar mailing list