monotone-commits-nodiffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-nodiffs] Revision 9898d348118c74381a5c64bd8284f0a88971


From: monotone
Subject: [Monotone-commits-nodiffs] Revision 9898d348118c74381a5c64bd8284f0a88971e393
Date: Sun, 24 Jun 2007 04:06:17 +0200

-----------------------------------------------------------------
Revision: 9898d348118c74381a5c64bd8284f0a88971e393
Ancestor: 96b2fadde82498aa6296b5bd8caa3c5bdfd40c23
Author: address@hidden
Date: 2007-06-21T01:39:23
Branch: net.venge.monotone.experiment.no-split-path

Modified files:
        cmd_merging.cc paths.cc paths.hh revision.cc roster.cc
        roster.hh roster_merge.cc vocab.cc vocab_terms.hh work.cc

ChangeLog: 

* vocab_terms.hh (path_component): Delete.
* vocab.cc (verify_full<path_component>): Delete.
* paths.hh (path_component): Define here now.
(file_path): Add new short-circuit constructor replacing the
'prevalidated' source_type.  Replace operator/ with two new variants, 
taking a path_component and a file_path respectively.
(file_path::operator<): Use string iterators instead of pointers.
(file_path::file_path): 
(null_name, the_null_component): Delete.  All users changed
to use x.empty() and path_component() respectively.
* paths.cc (bad_component): Remove unnecessary variables.
(has_bad_component_chars): New function.
(fully_normalized_path_split): Fold into sole remaining caller,
fully_normalized_path, and simplify accordingly.
(in_bookkeeping_dir): Correct comments.
(path_component functions): New.
(file_path::file_path): Take the 'prevalidated' hack back out.
(file_path::split): Use path_component() instead of the_null_component.
Use short-circuit path_component constructor.
(any_path::basename): Use short-circuit path_component constructor.
(file_path::dirname): Use short-circuit file_path constructor.
(file_path::operator/): Replace existing version with two variants,
one for appending a path_component, the other for appending an entire
file_path.
(path_component unit test): New.
* cmd_merging.cc, revision.cc, roster.cc, roster.hh, roster_merge.cc, work.cc:
Update to match.


monotone --db={your.database} diff 
--revision=96b2fadde82498aa6296b5bd8caa3c5bdfd40c23 
--revision=9898d348118c74381a5c64bd8284f0a88971e393
----------------------------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]