Changeset 1875 in ProjectBuilder
- Timestamp:
- Apr 27, 2014, 12:46:33 PM (11 years ago)
- Location:
- devel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/lib/ProjectBuilder/VCS.pm
r1866 r1875 298 298 } else { 299 299 # Pure git 300 open(GIT,"LANGUAGE=C $vcscmd --git-dir=$dir/.git remote -v 2> /dev/null |") || return(""); 300 # First we may deal with a separat git repo under $dir 301 if ( -d "$dir/.git" ) { 302 open(GIT,"LANGUAGE=C $vcscmd --git-dir=$dir/.git remote -v 2> /dev/null |") || return(""); 303 } else { 304 # If not, the pbconf dir may be in the pbprojdir so sharing the .git dir 305 my $cwd = abs_path(); 306 chdir($dir) || return("");; 307 open(GIT,"LANGUAGE=C $vcscmd remote -v 2> /dev/null |") || return(""); 308 chdir($cwd) || return(""); 309 } 301 310 while (<GIT>) { 302 311 next unless (/^origin\s+(\S+) \(push\)$/); -
devel/pb/bin/pb
r1870 r1875 4142 4142 if (! -f $db) { 4143 4143 $precmd = "CREATE TABLE announces (id INTEGER PRIMARY KEY AUTOINCREMENT, date DATE, announce VARCHAR[65535])"; 4144 # we should add the $db to the VCS as well here 4144 4145 } 4145 4146
Note:
See TracChangeset
for help on using the changeset viewer.