~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/conflicts.txt

  • Committer: Martin Pool
  • Date: 2006-06-15 05:36:34 UTC
  • mto: This revision was merged to the branch mainline in revision 1797.
  • Revision ID: mbp@sourcefrog.net-20060615053634-4fd52ba691855659
Clean up many exception classes.

Errors indicating a user error are now shown with is_user_error on the
exception; use this rather than hardcoding a list of exceptions that should be
handled this way.

Exceptions now inherit from BzrNewException where possible to use consistent
formatting method.

Remove rather obsolete docstring test on Branch.missing_revisions.

Remove dead code from find_merge_base.


Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Types of conflict
2
 
*****************
3
 
 
4
 
The following types of conflict can be encountered during a merge, or
5
 
a merge-like operation (such as resyncing local changes with
6
 
upstream):
7
 
 
8
 
Aaron's list:
9
 
 
10
 
* Parent directory missing when attempting to add a file
11
 
 
12
 
* Attempt to create directory that already exists
13
 
 
14
 
* Some patch hunks failed to apply
15
 
 
16
 
* While changing permissions, the "old" permissions in the changeset do
17
 
  not match the file.
18
 
 
19
 
* While replacing contents of a file, the old contents of a file do not
20
 
  match the changeset
21
 
 
22
 
* Attempt to remove non-empty directory: This only occurs when the
23
 
  directory has contents that it didn't have the last time it was deleted.
24
 
  It's pretty easy to handle adds, renames and deletes for exact
25
 
  patching.  There's no need to rm -rf directories as tla does.
26
 
 
27
 
* Attempt to create a symlink when there is already a file/dir/etc with
28
 
  that name
29
 
 
30
 
* Attempt to apply a patch to a file that does not exist
31
 
 
32
 
* Attempt to remove a file that does not exist
33
 
 
34
 
* Attempt to rename a file that does not exist
35
 
 
36
 
* Attempt to change permissions of a file that does not exist
37
 
 
38
 
* Can't determine filename during three-way merging
39
 
 
40
 
* Can't determine file parent directory during three-way merging
41
 
 
42
 
* Can't determine file permissions during three-way merging
43
 
 
44
 
Aaaron says: I have no doubt there are more.  For example, attempt to
45
 
change permissions of a symlink.