$git pullY no conectaba!!!
fatal: Where do you want to fetch from today?
- ¿Cómo se pudo resolver el problema?
- Pues haciendo memoria... y recordando que era un repositorio Subversion y no git al que accedía mediante git-svn.
;)
Porque no todo en la vida va a ser SIG Libre...
$git pullY no conectaba!!!
fatal: Where do you want to fetch from today?
PRAGMA table_info(tablename)Esto devuelve una tabla con un campo pk con valor 1 cuando el atributo tiene esta CONSTRAINT.
cd root_path_svn
for i in `find | grep .svn`; do
cat $i | sed s/'oldusername@xxx.xxx.xxx.xxx'/'newusername@yyy.yyy.yyy.yyy'/g > /tmp/foo.aux;
sudo mv /tmp/foo.aux $i;
done
git ls-files -vCon este comando se listan los ficheros en el índice indicando su estado con las letras al principio de la línea:
Sub ExportAsPDF(strFile as string)
Dim oDoc
Dim strFilterSubName as String
Dim oLoadArgs(0) as New com.sun.star.beans.PropertyValue
oLoadArgs(0).Name = "Hidden"
oLoadArgs(0).Value = True
oDoc = StarDesktop.loadComponentFromURL(ConvertToUrl(strFile), "_blank", 0, oLoadArgs())
If IsNull(oDoc) Then Exit Sub
strFilterSubName = ""
' select appropriate filter
If oDoc.SupportsService("com.sun.star.presentation.PresentationDocument") Then
strFilterSubName = "impress_pdf_Export"
ElseIf oDoc.SupportsService("com.sun.star.sheet.SpreadsheetDocument") Then
strFilterSubName = "calc_pdf_Export"
ElseIf oDoc.SupportsService("com.sun.star.text.WebDocument") Then
strFilterSubName = "writer_web_pdf_Export"
ElseIf oDoc.SupportsService("com.sun.star.text.GlobalDocument") Then
strFilterSubName = "writer_globaldocument_pdf_Export"
ElseIf oDoc.SupportsService("com.sun.star.text.TextDocument") Then
strFilterSubName = "writer_pdf_Export"
ElseIf oDoc.SupportsService("com.sun.star.drawing.DrawingDocument") Then
strFilterSubName = "draw_pdf_Export"
ElseIf oDoc.SupportsService("com.sun.star.formula.FormulaProperties") Then
strFilterSubName = "math_pdf_Export"
ElseIf oDoc.SupportsService("com.sun.star.chart.ChartDocument") Then
strFilterSubName = "chart_pdf_Export"
Else
Exit Sub
EndIf
Dim oSaveArgs(1) as New com.sun.star.beans.PropertyValue
oSaveArgs(0).Name = "FilterName"
oSaveArgs(0).Value = strFilterSubName
oSaveArgs(1).Name = "CompressMode"
oSaveArgs(1).Value = "1"
oDoc.storeToUrl(ConvertToUrl( strFile & ".pdf" ), oSaveArgs())
oDoc.close(True)
End Sub
$openoffice.org3 "macro:///Standard.Module1.ExportAsPDF(pathCompleto/archivo.odt)"