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7YPJ5PF4ISOZNT465GSOFR2GF7NTL5SNLZAC
TNN56XYKX4QRHA4FWCF5F3JVG52FIAC76EEYYANDKEE4IAWQKPEQC
JACZWIJ6UEL5HWZRNOOXTFXUEG67XJDPC5D72LYUPCVVJ6WB7JQAC
AF5AKUTO7AUAWFO5JS4W5BC5IG2F4EB4MGKYC5Q2CWJCVB65ZRYQC
WI5BS6BSRA7T3BCDF6EGB2JZHTZRX4SLT5EG4D67PVRBTZH5YIXAC
6HNRL5RT76NH5YNSUN7B4FHNRZXKNLX4DROFGMO4R5P2U7JWOL2QC
NWYJJHDFVCDR34NC6VYI4S2ZT4Q6KV4JWIBJDHOZEFZVEGO2J72AC
V435QOJRFHNKW3NKJHMVMFOGO3KGAZVSURLSGFUHVKOMHMF4Q2ZQC
ZHABNS3S6FSINO74FOI5KHYXYDTBPO4FQTTYTUS7NNKEVVNLYC4AC
H4IRHDJIVNQB4LB4SKMY3EN46POCVLTHJYZXWORKNPO3JXKIPZAQC
FYUDBQ3C5GWIFKITBAKEXTK4AFZXZOH7DHI7QFXQOQ3HYUIYDEVAC
6CZYYOG7C7ULY5Q4WSRVVC3QVSYACV3KFEYXDCH63OXXX2QFFFBAC
QJXNUQFJOAPQT3GUXRDTVKMJZCKFONSXUZMAZB7VC7OHDCGAVCOQC
fn env_logger_init() {
let mut builder = env_logger::builder();
builder.filter(Some("pijul::commands::git"), log::LevelFilter::Info);
builder.format(|buf, record| {
let target = record.metadata().target();
if target == "pijul::commands::git" {
let mut level_style = buf.style();
level_style.set_color(Color::Green);
writeln!(
buf,
"{} {}",
level_style.value(record.level()),
record.args()
)
} else {
let mut level_style = buf.style();
level_style.set_color(Color::Black).set_intense(true);
let op = level_style.value("[");
let cl = level_style.value("]");
writeln!(
buf,
"{}{} {} {}{} {}",
op,
buf.timestamp(),
buf.default_styled_level(record.level()),
target,
cl,
record.args()
)
}
});
builder.init();
fn logger_init() {
tracing_subscriber::fmt::init();
// let mut builder = env_logger::builder();
// builder.filter(Some("pijul::commands::git"), tracing::LevelFilter::Info);
// builder.format(|buf, record| {
// let target = record.metadata().target();
// if target == "pijul::commands::git" {
// let mut level_style = buf.style();
// level_style.set_color(Color::Green);
// writeln!(
// buf,
// "{} {}",
// level_style.value(record.level()),
// record.args()
// )
// } else {
// let mut level_style = buf.style();
// level_style.set_color(Color::Black).set_intense(true);
// let op = level_style.value("[");
// let cl = level_style.value("]");
// writeln!(
// buf,
// "{}{} {} {}{} {}",
// op,
// buf.timestamp(),
// buf.default_styled_level(record.level()),
// target,
// cl,
// record.args()
// )
// }
// });
// builder.init();
"README.md",
"Cargo.toml",
"src/commands/log.rs",
"src/commands/protocol.rs",
"src/commands/apply.rs",
"src/commands/credit.rs",
"src/commands/debug.rs",
"src/commands/checkout.rs",
"src/commands/file_operations.rs",
"src/commands/clone.rs",
"src/commands/git.rs",
"src/commands/key.rs",
"src/commands/record.rs",
"src/commands/change.rs",
"src/commands/diff.rs",
"src/commands/unrecord.rs",
"src/commands/channel.rs",
"src/commands/init.rs",
"src/commands/mod.rs",
"src/commands/archive.rs",
"src/commands/reset.rs",
"src/commands/fork.rs",
"src/commands/pushpull.rs",
"src/commands/lock.rs",
"src/commands/tag.rs",
"src/config.rs",
"src/repository.rs",
"src/progress.rs",
"src/main.rs",
"src/remote/local.rs",
"src/remote/ssh.rs",
"src/remote/mod.rs",
"src/remote/http.rs",
"README.md",
"Cargo.toml",
"src/commands/log.rs",
"src/commands/protocol.rs",
"src/commands/apply.rs",
"src/commands/credit.rs",
"src/commands/debug.rs",
"src/commands/checkout.rs",
"src/commands/file_operations.rs",
"src/commands/clone.rs",
"src/commands/git.rs",
"src/commands/key.rs",
"src/commands/record.rs",
"src/commands/change.rs",
"src/commands/diff.rs",
"src/commands/unrecord.rs",
"src/commands/channel.rs",
"src/commands/init.rs",
"src/commands/mod.rs",
"src/commands/archive.rs",
"src/commands/reset.rs",
"src/commands/fork.rs",
"src/commands/pushpull.rs",
"src/commands/lock.rs",
"src/commands/tag.rs",
"src/config.rs",
"src/repository.rs",
"src/progress.rs",
"src/main.rs",
"src/remote/local.rs",
"src/remote/ssh.rs",
"src/remote/mod.rs",
"src/remote/http.rs",
if log_enabled!(log::Level::Debug) {
change0
.write(store, Some(hash), true, &mut std::io::stderr())
.unwrap();
}
// TODO: fix this
// if log_enabled!(tracing::Level::Debug) {
// change0
// .write(store, Some(hash), true, &mut std::io::stderr())
// .unwrap();
// }
if log::log_enabled!(log::Level::Trace) {
for l in lines_a.iter() {
trace!("a: {:?}", l)
}
for l in lines_b.iter() {
trace!("b: {:?}", l)
}
}
// TODO: fix this
// if tracing::log_enabled!(tracing::Level::Trace) {
// for l in lines_a.iter() {
// trace!("a: {:?}", l)
// }
// for l in lines_b.iter() {
// trace!("b: {:?}", l)
// }
// }
if log_enabled!(log::Level::Debug) {
let f = std::fs::File::create("debug_oldest").unwrap();
graph
.debug(changes, txn, txn.graph(channel), false, true, f)
.unwrap();
}
// TODO: fix this
// if log_enabled!(tracing::Level::Debug) {
// let f = std::fs::File::create("debug_oldest").unwrap();
// graph
// .debug(changes, txn, txn.graph(channel), false, true, f)
// .unwrap();
// }
"Cargo.toml",
"src/apply.rs",
"src/apply/edge.rs",
"src/apply/vertex.rs",
"src/missing_context.rs",
"src/vector2.rs",
"src/path.rs",
"src/key.rs",
"src/chardetng/mod.rs",
"src/chardetng/data.rs",
"src/chardetng/tld.rs",
"src/working_copy/filesystem.rs",
"src/working_copy/mod.rs",
"src/working_copy/memory.rs",
"src/unrecord/mod.rs",
"src/unrecord/working_copy.rs",
"src/record.rs",
"src/change.rs",
"src/change/change_file.rs",
"src/change/text_changes.rs",
"src/change/noenc.rs",
"src/change/parse.rs",
"src/change/printable.rs",
"src/alive/tarjan.rs",
"src/alive/debug.rs",
"src/alive/retrieve.rs",
"src/alive/dfs.rs",
"src/alive/mod.rs",
"src/alive/output.rs",
"src/fs.rs",
"src/vertex_buffer.rs",
"src/changestore/filesystem.rs",
"src/changestore/mod.rs",
"src/changestore/memory.rs",
"src/small_string.rs",
"src/pristine/path_id.rs",
"src/pristine/block.rs",
"src/pristine/edge.rs",
"src/pristine/merkle.rs",
"src/pristine/patch_id.rs",
"src/pristine/inode_metadata.rs",
"src/pristine/inode.rs",
"src/pristine/sanakirja.rs",
"src/pristine/mod.rs",
"src/pristine/vertex.rs",
"src/pristine/hash.rs",
"src/pristine/change_id.rs",
"src/pristine/inode_vertex.rs",
"src/find_alive.rs",
"src/tag.rs",
"src/tag/txn.rs",
"src/text_encoding.rs",
"src/tests/performance.rs",
"src/tests/file_conflicts.rs",
"src/tests/filesystem.rs",
"src/tests/missing_context.rs",
"src/tests/conflict.rs",
"src/tests/clone.rs",
"src/tests/change.rs",
"src/tests/unrecord.rs",
"src/tests/partial.rs",
"src/tests/rm_file.rs",
"src/tests/mod.rs",
"src/tests/add_file.rs",
"src/tests/patch.rs",
"src/tests/text.rs",
"src/tests/diff.rs",
"src/output/mod.rs",
"src/output/archive.rs",
"src/output/output.rs",
"src/diff/replace.rs",
"src/diff/split.rs",
"src/diff/diff.rs",
"src/diff/mod.rs",
"src/diff/delete.rs",
"src/diff/vertex_buffer.rs",
"src/diff/bin.rs",
"src/lib.rs"
"Cargo.toml",
"src/apply.rs",
"src/apply/edge.rs",
"src/apply/vertex.rs",
"src/missing_context.rs",
"src/vector2.rs",
"src/path.rs",
"src/key.rs",
"src/chardetng/mod.rs",
"src/chardetng/data.rs",
"src/chardetng/tld.rs",
"src/working_copy/filesystem.rs",
"src/working_copy/mod.rs",
"src/working_copy/memory.rs",
"src/unrecord/mod.rs",
"src/unrecord/working_copy.rs",
"src/record.rs",
"src/change.rs",
"src/change/change_file.rs",
"src/change/text_changes.rs",
"src/change/noenc.rs",
"src/change/parse.rs",
"src/change/printable.rs",
"src/alive/tarjan.rs",
"src/alive/debug.rs",
"src/alive/retrieve.rs",
"src/alive/dfs.rs",
"src/alive/mod.rs",
"src/alive/output.rs",
"src/fs.rs",
"src/vertex_buffer.rs",
"src/changestore/filesystem.rs",
"src/changestore/mod.rs",
"src/changestore/memory.rs",
"src/small_string.rs",
"src/pristine/path_id.rs",
"src/pristine/block.rs",
"src/pristine/edge.rs",
"src/pristine/merkle.rs",
"src/pristine/patch_id.rs",
"src/pristine/inode_metadata.rs",
"src/pristine/inode.rs",
"src/pristine/sanakirja.rs",
"src/pristine/mod.rs",
"src/pristine/vertex.rs",
"src/pristine/hash.rs",
"src/pristine/change_id.rs",
"src/pristine/inode_vertex.rs",
"src/find_alive.rs",
"src/tag.rs",
"src/tag/txn.rs",
"src/text_encoding.rs",
"src/tests/performance.rs",
"src/tests/file_conflicts.rs",
"src/tests/filesystem.rs",
"src/tests/missing_context.rs",
"src/tests/conflict.rs",
"src/tests/clone.rs",
"src/tests/change.rs",
"src/tests/unrecord.rs",
"src/tests/partial.rs",
"src/tests/rm_file.rs",
"src/tests/mod.rs",
"src/tests/add_file.rs",
"src/tests/patch.rs",
"src/tests/text.rs",
"src/tests/diff.rs",
"src/output/mod.rs",
"src/output/archive.rs",
"src/output/output.rs",
"src/diff/replace.rs",
"src/diff/split.rs",
"src/diff/diff.rs",
"src/diff/mod.rs",
"src/diff/delete.rs",
"src/diff/vertex_buffer.rs",
"src/diff/bin.rs",
"src/lib.rs",
ondisk-repos = [ "mmap", "zstd", "ignore", "canonical-path", "lru-cache", "tempfile", "path-slash" ]
mmap = [ "sanakirja/mmap" ]
zstd = [ "zstd-seekable" ]
text-changes = [ "regex" ]
dump = [ "tokio" ]
default = [ "ondisk-repos", "text-changes", "dump" ]
tarball = [ "tar", "flate2" ]
ondisk-repos = [
"mmap",
"zstd",
"ignore",
"canonical-path",
"lru-cache",
"tempfile",
"path-slash",
]
mmap = ["sanakirja/mmap"]
zstd = ["zstd-seekable"]
text-changes = ["regex"]
dump = ["tokio"]
default = ["ondisk-repos", "text-changes", "dump"]
tarball = ["tar", "flate2"]
curve25519-dalek = { version = "3", features = [ "serde" ] }
ed25519-dalek = { version = "1.0", features = [ "serde" ] }
curve25519-dalek = { version = "3", features = ["serde"] }
ed25519-dalek = { version = "1.0", features = ["serde"] }
name = "tracing-subscriber"
version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77be66445c4eeebb934a7340f227bfe7b338173d3f8c00a60a5a58005c9faecf"
dependencies = [
"ansi_term",
"sharded-slab",
"smallvec",
"thread_local",
"tracing-core",
"tracing-log",
]
[[package]]