Y6EVFMTA6FOH3OQH6QCSWMI3F6SYZT2FSHO6GF4M3ICENDCWFM4QC
MHQBEHJDJ7MUW46HIS24AZFBC4DZDKZNBVBOBOBPML6GGFIS4LQAC
I7VL7VPZV2NKOZRKBWWEHFOGNGGTYLPONHABVJ767D6HPJJNY5RAC
MDADYULS5AWVMTJDGYCGNQTN6T7XJDRUBDTFILDY5MLF6I2PE5NAC
SXEYMYF7P4RZMZ46WPL4IZUTSQ2ATBWYZX7QNVMS3SGOYXYOHAGQC
VQPAUKBQ2POZKL7CZFAZK5ZQKEBYL27XZYZWYUSH5AH25KK6DWKAC
5DVRL6MFXQOCPOZMYSKBERMRRVUTYRL2SRGRTU2MH4IEOFCDKM3QC
Y7YAFMFFJY3SQ3GYN3SS4V3FZWMH3B5L65AXQBXOR5XARSMF5JJQC
WZVCLZKY34KQBQU6YBGJLQCDADBQ67LQVDNRVCMQVY3O3C3EIWSQC
3KRGVQFUWFHPOGZOXVTJYNCM4XBRVYITAEOVPKBSAZ5GZIUO5KVQC
LGEJSLTYI7Y2CYC3AN6ECMT3D3MTWCAKZPVQEG5MPM2OBW5FQ46AC
YN63NUZO4LVJ7XPMURDULTXBVJKW5MVCTZ24R7Z52QMHO3HPDUVQC
MU5GSJAW65PEG3BRYUKZ7O37BPHW3MOX3S5E2RFOXKGUOJEEDQ5AC
XA23FMQM2AI7RMR36AYN7UNP2D5JWVJMJPHURWZO7URM7H46PU6AC
CCLLB7OIFNFYJZTG3UCI7536TOCWSCSXR67VELSB466R24WLJSDAC
I52XSRUH5RVHQBFWVMAQPTUSPAJ4KNVID2RMI3UGCVKFLYUO6WZAC
A6R6SGCPLFM45QNWJLISFBR3EEXVITYHCWEUOPNH4UIGIWJRTZAQC
JL4WKA5PBKXRNAMETYO4I52QKASQ3COYHH2JKGA7W5YLIRZZH53AC
let mut touched_paths: Vec<_> = Vec::new();
for &i in touched.iter() {
if let Some((path, _)) =
libpijul::fs::find_path(&repo.changes, &txn, &channel.borrow(), false, *i)?
{
touched_paths.push(path)
} else {
touched_paths.clear();
break;
if is_current_channel {
let mut touched_paths: Vec<_> = Vec::new();
for &i in touched.iter() {
if let Some((path, _)) =
libpijul::fs::find_path(&repo.changes, &txn, &channel.borrow(), false, *i)?
{
touched_paths.push(path)
} else {
touched_paths.clear();
break;
}
}
touched_paths.sort();
let mut last = "";
for path in touched_paths.iter() {
if !last.is_empty() && path.starts_with(last) {
continue;
}
debug!("path = {:?}", path);
txn.output_repository_no_pending(
&mut repo.working_copy,
&repo.changes,
&mut channel,
path,
true,
None,
)?;
last = path
}
touched_paths.sort();
let mut last = "";
for path in touched_paths.iter() {
if !last.is_empty() && path.starts_with(last) {
continue;
if touched_paths.is_empty() {
txn.output_repository_no_pending(
&mut repo.working_copy,
&repo.changes,
&mut channel,
"",
true,
None,
)?;
debug!("path = {:?}", path);
txn.output_repository_no_pending(
&mut repo.working_copy,
&repo.changes,
&mut channel,
path,
true,
None,
)?;
last = path
let mut touched_files = Vec::with_capacity(touched.len());
for i in touched {
if let Some((path, _)) =
libpijul::fs::find_path(&repo.changes, &txn, &channel.borrow(), false, i)?
{
touched_files.push(path)
} else {
touched_files.clear();
break;
if is_current_channel {
let mut touched_files = Vec::with_capacity(touched.len());
for i in touched {
if let Some((path, _)) =
libpijul::fs::find_path(&repo.changes, &txn, &channel.borrow(), false, i)?
{
touched_files.push(path)
} else {
touched_files.clear();
break;
}
}
for path in touched_files.iter() {
txn.output_repository_no_pending(
&mut repo.working_copy,
&repo.changes,
&mut channel,
&path,
true,
None,
)?;
}
if !touched_files.is_empty() {
txn.output_repository_no_pending(
&mut repo.working_copy,
&repo.changes,
&mut channel,
"",
true,
None,
)?;
for path in touched_files.iter() {
txn.output_repository_no_pending(
&mut repo.working_copy,
&repo.changes,
&mut channel,
&path,
true,
None,
)?;
}
if !touched_files.is_empty() {
txn.output_repository_no_pending(
&mut repo.working_copy,
&repo.changes,
&mut channel,
"",
true,
None,
)?;
}