Committing conflicts
John Arbash Meinel
john at arbash-meinel.com
Sat May 31 14:00:04 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Stefan Monnier wrote:
|> You can use 'bzr resolve --all' and pretend that there aren't any
|> conflicts and commit. The files will still have '<<<<<, =====, >>>>>'
|> markers in them, but there won't be anything that actually claims the
|> files are conflicted. (You will also remove the .THIS, .OTHER, and
|> .BASE files.)
|
| How will this handle metadata conflicts?
|
|> We don't have a way of recording a specific conflict list for a given
|> commit. It certainly is theoretically possible, just hasn't been
|> something requested. (Since we don't auto-commit merges, there hasn't
|> been a need.)
|
| How could one do it such that the conflict data is preserved?
| I don't mean preserved in a way that Bazaar understands, but rather how
| to turn the conflict info into soem text representation which I could
| then store in a file?
|
| The in-file conflicts indeed work already in that the conflict markers
| are usually all we need, but for other forms of conflict data, it's far
| from clear for me how to do that in a meaningful way.
|
| Has someone tried it already? Would just "cvs status >conflict-data" be
| the best we can do?
|
|
| Stefan
|
|
|
|
I would hate to promise anything, but cp .bzr/checkout/conflicts might be a way
to snapshot the state. And copying that into the next checkout would inform bzr
that things are still conflicted.
I won't promise anything, though, as touching things under .bzr/* is not
generally recommended.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkhBS9QACgkQJdeBCYSNAAMWBQCgjc4Tf7Qb0e61PvKIu7nmfM1a
zFoAoLnLxY11G8eeKw35LEB8uctEfbSX
=2jzH
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list