Home
last modified time | relevance | path

Searched refs:work_tree (Results 1 – 25 of 244) sorted by relevance

12345678910

/dports/devel/brz/breezy-3.2.0/breezy/tests/per_workingtree/
H A Dtest_canonical_path.py35 work_tree = self.make_branch_and_tree('tree')
37 work_tree.add(['dir', 'dir/file'])
39 work_tree.commit('commit 1')
42 return work_tree
45 work_tree = self._make_canonical_test_tree()
64 work_tree = self._make_canonical_test_tree()
71 work_tree = self._make_canonical_test_tree()
76 work_tree = self._make_canonical_test_tree()
81 work_tree = self._make_canonical_test_tree()
95 work_tree = self.make_branch_and_tree('.')
[all …]
/dports/devel/brz/breezy-3.2.0/breezy/tests/per_tree/
H A Dtest_tree.py86 with work_tree.lock_write():
90 work_tree.add_reference(subtree)
91 tree = self._convert_tree(work_tree)
225 work_tree.add('foobar')
226 tree = self._convert_tree(work_tree)
240 work_tree.add(['foo', 'bar', 'baz'])
292 work_tree.add(['a'])
304 work_tree.commit('add files')
305 work_tree.remove('file')
323 work_tree.add('file')
[all …]
H A Dtest_list_files.py26 work_tree = self.make_branch_and_tree('wt')
40 work_tree = self.make_branch_and_tree('wt')
53 work_tree = self.make_branch_and_tree('wt')
67 work_tree = self.make_branch_and_tree('wt')
79 work_tree = self.make_branch_and_tree('wt')
91 work_tree = self.make_branch_and_tree('wt')
108 work_tree = self.make_branch_and_tree('wt')
109 with work_tree.lock_write():
110 self.skip_if_no_reference(work_tree)
115 work_tree.add_reference(subtree)
[all …]
H A Dtest_ids.py63 work_tree = self.make_branch_and_tree('wt')
64 with work_tree.lock_write():
65 self.skip_if_no_reference(work_tree)
70 work_tree.add_reference(subtree)
71 tree = self._convert_tree(work_tree)
90 work_tree.add(['dir', 'dir/file'])
94 tree = self._convert_tree(work_tree)
103 work_tree.add('file')
104 work_tree.commit('commit old state')
105 work_tree.remove('file')
[all …]
H A Dtest_get_file_with_stat.py27 work_tree = self.make_branch_and_tree('.')
29 work_tree.add(['foo'])
30 tree = self._convert_tree(work_tree)
41 work_tree = self.make_branch_and_tree('.')
43 work_tree.add(['foo'])
44 tree = self._convert_tree(work_tree)
/dports/devel/p5-Git-Repository/Git-Repository-1.325/lib/Git/
H A DRepository.pm88 my $work_tree = delete $arg{work_tree};
99 -d ( $work_tree = _abs_path( $work_tree, $cwd ) )
100 or croak "directory not found: $work_tree"
101 if defined $work_tree;
105 : defined $work_tree ? $work_tree
118 if ( !defined $work_tree ) {
128 $self->{work_tree}
142 $self->{work_tree}
143 = $cdup ? _abs_path( $cdup, $work_tree ) : $work_tree;
149 $self->{work_tree} = $work_tree;
/dports/devel/brz/breezy-3.2.0/breezy/
H A Dcommit.py294 self.work_tree = working_tree
295 self.branch = self.work_tree.branch
342 self.basis_tree = self.work_tree.basis_tree()
345 if len(self.work_tree.conflicts()) > 0:
438 self.work_tree.unversion(self.deleted_paths)
440 self.work_tree.update_basis_by_delta(
661 iter_changes = self.work_tree.iter_changes(
733 for unknown in self.work_tree.unknowns():
738 sub_tree = self.work_tree.get_nested_tree(path)
746 self.work_tree.branch.repository):
[all …]
H A Dshelf_ui.py120 def __init__(self, work_tree, target_tree, diff_writer=None, auto=False, argument
137 self.work_tree = work_tree
143 manager = work_tree.get_shelf_manager()
153 config = self.work_tree.branch.get_config()
155 self.work_tree.lock_tree_write()
189 creator = shelf.ShelfCreator(self.work_tree, self.target_tree,
227 self.work_tree.unlock()
239 old_tree = self.work_tree
243 new_tree = self.work_tree
298 path = self.work_tree.id2path(file_id)
[all …]
H A Dshelf.py59 def __init__(self, work_tree, target_tree, file_list=None): argument
68 self.work_tree = work_tree
69 self.work_transform = work_tree.transform()
77 self.iter_changes = work_tree.iter_changes(
184 old_path = self.work_tree.id2path(file_id)
185 old_target = self.work_tree.get_symlink_target(old_path)
218 self._content_from_tree(self.shelf_transform, self.work_tree, file_id)
228 self._shelve_creation(self.work_tree, file_id, self.work_transform,
240 if not self.work_tree.has_filename(existing_path):
275 work_path = self.work_tree.id2path(file_id)
[all …]
/dports/devel/py-git-up/git-up-2.1.0/PyGitUp/tests/
H A Dtest_out_of_tree.py13 work_tree = join(repo_path, 'work-tree') variable
20 os.makedirs(work_tree)
26 with open(join(work_tree, '.git'), 'w') as f:
31 os.environ['GIT_WORK_TREE'] = work_tree
33 repo = Repo.init(work_tree)
50 os.chdir(work_tree)
/dports/devel/p5-Git-Repository/Git-Repository-1.325/t/
H A D10-new_fail.t29 ok( !eval { Git::Repository->new( work_tree => $missing ) },
30 'Missing work_tree directory' );
47 if eval { Git::Repository->new( work_tree => $tmp ) };
48 ok( !eval { Git::Repository->new( work_tree => $dir ) },
49 'work_tree directory is not a git working copy'
61 Git::Repository->new( work_tree => $dir, git_dir => $gitdir );
63 'work_tree\'s repository directory is not a git repository'
73 Git::Repository->new( work_tree => $dir, extra => 'stuff' );
H A D30-test_repository.t34 open my $fh, '>', catfile( $r->work_tree, $file )
46 for my $meth (qw( work_tree git_dir )) {
62 for my $meth (qw( work_tree git_dir )) {
65 isnt( $s->work_tree, $r->work_tree,
66 "$meth clone: different work_tree" );
H A D11-create.t44 is( $r->work_tree, $dir, '... correct work_tree' );
79 ok( $r = eval { Git::Repository->new( work_tree => $dir ); },
80 "new( work_tree => $i )" );
89 "new( work_tree => $i/sub )" );
115 "new( work_tree => $i, git_dir => $i/.git ) => $i/sub"
134 Git::Repository->new( work_tree => $dir );
182 Git::Repository->new( work_tree => $dir );
248 Git::Repository->new( work_tree => $dir, $options );
293 Git::Repository->new( work_tree => $dir );
307 Git::Repository->new( work_tree => $dir );
[all …]
H A D22-backward.t26 my $dir = $r->work_tree;
34 my $re_wc = qr/^working_copy is obsolete, please use work_tree instead /;
38 [ $home => [ work_tree => $dir, working_copy => $fake ], $re_wc ],
44 work_tree => $dir,
54 work_tree => $dir,
/dports/multimedia/kvazaar/kvazaar-2.1.0/src/
H A Dsearch.c113 copy_cu_info (x_local, y_local, width, &work_tree[depth + 1], &work_tree[depth]); in work_tree_copy_up()
114 copy_cu_pixels(x_local, y_local, width, &work_tree[depth + 1], &work_tree[depth]); in work_tree_copy_up()
115 copy_cu_coeffs(x_local, y_local, width, &work_tree[depth + 1], &work_tree[depth]); in work_tree_copy_up()
126 copy_cu_info (x_local, y_local, width, &work_tree[depth], &work_tree[i]); in work_tree_copy_down()
127 copy_cu_pixels(x_local, y_local, width, &work_tree[depth], &work_tree[i]); in work_tree_copy_down()
212 lcu_t *const lcu = &work_tree[depth]; in cu_zero_coeff_cost()
475 lcu_t *const lcu = &work_tree[depth]; in search_cu()
558 &work_tree[depth + 1], in search_cu()
967 lcu_t work_tree[MAX_PU_DEPTH + 1]; in kvz_search_lcu() local
970 work_tree[depth] = work_tree[0]; in kvz_search_lcu()
[all …]
/dports/devel/libqb/libqb-2.0.3/
H A Dautogen.sh5 work_tree=0; test -n "$(cat $version_files 2>/dev/null|head -n1)" || work_tree=1
8 test $work_tree -eq 0 || autoreconf_opts="$autoreconf_opts -f"
14 elif test $work_tree -eq 0; then
/dports/devel/p5-Git-Repository/Git-Repository-1.325/lib/Git/Repository/
H A DCommand.pm127 my ( $git_dir, $work_tree ) = ( $r->git_dir, $r->work_tree );
128 unshift @o, { cwd => $work_tree }
129 if defined $work_tree && length $work_tree;
134 $ENV{GIT_WORK_TREE} = $work_tree
135 if defined $work_tree;
/dports/devel/cgit/cgit-1.2.3/git/builtin/
H A Dinit-db.c171 if (!strcmp(work_tree, "/") && !strcmp(git_dir, "/.git")) in needs_work_tree_config()
173 if (skip_prefix(git_dir, work_tree, &git_dir) && in needs_work_tree_config()
269 const char *work_tree = get_git_work_tree(); in create_default_files() local
274 if (needs_work_tree_config(original_git_dir, work_tree)) in create_default_files()
275 git_config_set("core.worktree", work_tree); in create_default_files()
482 const char *work_tree; in cmd_init_db() local
582 if (work_tree) in cmd_init_db()
583 set_git_work_tree(work_tree); in cmd_init_db()
591 if (work_tree) in cmd_init_db()
592 set_git_work_tree(work_tree); in cmd_init_db()
[all …]
/dports/devel/git-svn/git-2.34.1/builtin/
H A Dinit-db.c162 if (!strcmp(work_tree, "/") && !strcmp(git_dir, "/.git"))
164 if (skip_prefix(git_dir, work_tree, &git_dir) &&
204 const char *work_tree = get_git_work_tree();
294 if (needs_work_tree_config(original_git_dir, work_tree)) in fill()
295 git_config_set("core.worktree", work_tree); in fill()
532 const char *work_tree;
674 if (work_tree)
675 set_git_work_tree(work_tree);
685 if (work_tree)
686 set_git_work_tree(work_tree);
[all …]
/dports/devel/git-gui/git-2.34.1/builtin/
H A Dinit-db.c162 if (!strcmp(work_tree, "/") && !strcmp(git_dir, "/.git")) in needs_work_tree_config()
164 if (skip_prefix(git_dir, work_tree, &git_dir) && in needs_work_tree_config()
204 const char *work_tree = get_git_work_tree(); in create_default_files() local
294 if (needs_work_tree_config(original_git_dir, work_tree)) in create_default_files()
295 git_config_set("core.worktree", work_tree); in create_default_files()
532 const char *work_tree; in cmd_init_db() local
674 if (work_tree) in cmd_init_db()
675 set_git_work_tree(work_tree); in cmd_init_db()
685 if (work_tree) in cmd_init_db()
686 set_git_work_tree(work_tree); in cmd_init_db()
[all …]
/dports/devel/git-p4/git-2.34.1/builtin/
H A Dinit-db.c162 if (!strcmp(work_tree, "/") && !strcmp(git_dir, "/.git")) in needs_work_tree_config()
164 if (skip_prefix(git_dir, work_tree, &git_dir) && in needs_work_tree_config()
204 const char *work_tree = get_git_work_tree(); in create_default_files() local
294 if (needs_work_tree_config(original_git_dir, work_tree)) in create_default_files()
295 git_config_set("core.worktree", work_tree); in create_default_files()
532 const char *work_tree; in cmd_init_db() local
674 if (work_tree) in cmd_init_db()
675 set_git_work_tree(work_tree); in cmd_init_db()
685 if (work_tree) in cmd_init_db()
686 set_git_work_tree(work_tree); in cmd_init_db()
[all …]
/dports/devel/git/git-2.34.1/builtin/
H A Dinit-db.c162 if (!strcmp(work_tree, "/") && !strcmp(git_dir, "/.git")) in needs_work_tree_config()
164 if (skip_prefix(git_dir, work_tree, &git_dir) && in needs_work_tree_config()
204 const char *work_tree = get_git_work_tree(); in create_default_files() local
294 if (needs_work_tree_config(original_git_dir, work_tree)) in create_default_files()
295 git_config_set("core.worktree", work_tree); in create_default_files()
532 const char *work_tree; in cmd_init_db() local
674 if (work_tree) in cmd_init_db()
675 set_git_work_tree(work_tree); in cmd_init_db()
685 if (work_tree) in cmd_init_db()
686 set_git_work_tree(work_tree); in cmd_init_db()
[all …]
/dports/devel/git-cvs/git-2.34.1/builtin/
H A Dinit-db.c162 if (!strcmp(work_tree, "/") && !strcmp(git_dir, "/.git")) in needs_work_tree_config()
164 if (skip_prefix(git_dir, work_tree, &git_dir) && in needs_work_tree_config()
204 const char *work_tree = get_git_work_tree(); in create_default_files() local
294 if (needs_work_tree_config(original_git_dir, work_tree)) in create_default_files()
295 git_config_set("core.worktree", work_tree); in create_default_files()
532 const char *work_tree; in cmd_init_db() local
674 if (work_tree) in cmd_init_db()
675 set_git_work_tree(work_tree); in cmd_init_db()
685 if (work_tree) in cmd_init_db()
686 set_git_work_tree(work_tree); in cmd_init_db()
[all …]
/dports/databases/p5-GitDDL-Migrator/GitDDL-Migrator-0.08/t/
H A Dmysqld.t21 work_tree => $repo->work_tree,
33 make_path(File::Spec->catfile($repo->work_tree, 'sql'));
35 open my $fh, '>', File::Spec->catfile($repo->work_tree, 'sql', 'ddl.sql') or die $!;
63 open $fh, '>>', File::Spec->catfile($repo->work_tree, 'sql', 'ddl.sql') or die $!;
99 work_tree => $repo->work_tree,
/dports/databases/p5-GitDDL/GitDDL-0.03/t/
H A Dsql_filter.t19 work_tree => $repo->work_tree,
31 make_path(File::Spec->catfile($repo->work_tree, 'sql'));
33 open my $fh, '>', File::Spec->catfile($repo->work_tree, 'sql', 'ddl.sql') or die $!;
49 open $fh, '>>', File::Spec->catfile($repo->work_tree, 'sql', 'ddl.sql') or die $!;

12345678910