[MERGE] line-endings support: part 1 of 2: versioned properties
allen at ableton.com
Mon Apr 14 11:58:31 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Alexander Belchenko wrote:
| Nicholas Allen пишет:
|> | E.g. if you have many C-files then you need to set only one
|> | 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
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the bazaar